diff --git a/Doc/howto/regex.rst b/Doc/howto/regex.rst index 051e7d70e8f..994c0b92691 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 :Release: 0.05 .. TODO: diff --git a/Doc/library/re.rst b/Doc/library/re.rst index 4fb401680e7..7131a6ff946 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."