diff options
author | Georg Brandl <georg@python.org> | 2009-03-15 21:59:37 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-03-15 21:59:37 (GMT) |
commit | 545a134916a32cbfddb3001642491d9466a71536 (patch) | |
tree | 90b4d11b1b7ac39b85ecc46c409ac2fccf7d81af | |
parent | 173c1f1a01aaab413dce12a8e483da28c71343b8 (diff) | |
download | cpython-545a134916a32cbfddb3001642491d9466a71536.zip cpython-545a134916a32cbfddb3001642491d9466a71536.tar.gz cpython-545a134916a32cbfddb3001642491d9466a71536.tar.bz2 |
Fix markup in re docs and give a mail address in regex howto, so that
the recommendation to send suggestions to the author can be followed.
-rw-r--r-- | Doc/howto/regex.rst | 2 | ||||
-rw-r--r-- | Doc/library/re.rst | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 051e7d7..994c0b9 100644 --- a/Doc/howto/regex.rst +++ b/Doc/howto/regex.rst @@ -4,7 +4,7 @@ Regular Expression HOWTO **************************** -:Author: A.M. Kuchling +:Author: A.M. Kuchling <amk@amk.ca> :Release: 0.05 .. TODO: diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 4fb4016..7131a6f 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -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." |