[Python-checkins] r70400 - in python/trunk/Doc: howto/regex.rst library/re.rst

georg.brandl python-checkins at python.org
Sun Mar 15 22:59:38 CET 2009


Author: georg.brandl
Date: Sun Mar 15 22:59:37 2009
New Revision: 70400
Log:
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.
Modified:
 python/trunk/Doc/howto/regex.rst
 python/trunk/Doc/library/re.rst
Modified: python/trunk/Doc/howto/regex.rst
==============================================================================
--- python/trunk/Doc/howto/regex.rst	(original)
+++ python/trunk/Doc/howto/regex.rst	Sun Mar 15 22:59:37 2009
@@ -4,7 +4,7 @@
 Regular Expression HOWTO
 ****************************
 
-:Author: A.M. Kuchling
+:Author: A.M. Kuchling <amk at amk.ca>
 :Release: 0.05
 
 .. TODO:
Modified: python/trunk/Doc/library/re.rst
==============================================================================
--- python/trunk/Doc/library/re.rst	(original)
+++ python/trunk/Doc/library/re.rst	Sun Mar 15 22:59:37 2009
@@ -1110,7 +1110,7 @@
 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."


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /