]> granicus.if.org Git - python/commitdiff
Fix markup in re docs and give a mail address in regex howto, so that
authorGeorg Brandl <georg@python.org>
Sun, 15 Mar 2009 21:59:37 +0000 (21:59 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 15 Mar 2009 21:59:37 +0000 (21:59 +0000)
the recommendation to send suggestions to the author can be followed.

Doc/howto/regex.rst
Doc/library/re.rst

index 051e7d70e8fcbfad42c7872032e584e83fae1946..994c0b92691be2300c3c1689acd49f3131c683a8 100644 (file)
@@ -4,7 +4,7 @@
   Regular Expression HOWTO
 ****************************
 
-:Author: A.M. Kuchling
+:Author: A.M. Kuchling <amk@amk.ca>
 :Release: 0.05
 
 .. TODO:
index 4fb401680e71c3e889f53d58029e86aaaf9a7e43..7131a6ff94624eb5cd9465dc0277003ebc86248a 100644 (file)
@@ -1110,7 +1110,7 @@ For example:
    string)`` or ``re.search(pattern, string)``.
 
 :func:`match` has an optional second parameter that gives an index in the string
-where the search is to start:
+where the search is to start::
 
    >>> pattern = re.compile("o")
    >>> pattern.match("dog")      # No match as "o" is not at the start of "dog."