Commit 545a1349 authored by Georg Brandl's avatar Georg Brandl

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.
parent 173c1f1a
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
Regular Expression HOWTO Regular Expression HOWTO
**************************** ****************************
:Author: A.M. Kuchling :Author: A.M. Kuchling <amk@amk.ca>
:Release: 0.05 :Release: 0.05
.. TODO: .. TODO:
......
...@@ -1110,7 +1110,7 @@ For example: ...@@ -1110,7 +1110,7 @@ For example:
string)`` or ``re.search(pattern, string)``. string)`` or ``re.search(pattern, string)``.
:func:`match` has an optional second parameter that gives an index in the 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 = re.compile("o")
>>> pattern.match("dog") # No match as "o" is not at the start of "dog." >>> pattern.match("dog") # No match as "o" is not at the start of "dog."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment