Ezio Melotti
51c374dede
#16304 : clarify match objects docs. Initial patch by Jan Duzinkiewicz.
2012-11-04 06:46:28 +02:00
Ezio Melotti
8950019283
#14519 : fix the regex used in the scanf example.
2012-04-29 11:47:28 +03:00
Ezio Melotti
1142773084
#14461 : fix wording.
2012-04-29 07:34:22 +03:00
Ezio Melotti
48d886b725
#14155 : add a note about \b.
2012-04-29 04:46:34 +03:00
Senthil Kumaran
dc0b324a0f
Fix closes Issue14258 - Clarify the re.LOCALE and re.UNICODE flags for \S class
2012-04-11 03:22:58 +08:00
Georg Brandl
94a105705f
Closes #14250 : regex.flags has not only explicit flags but also those from the pattern
2012-03-17 17:31:32 +01:00
Georg Brandl
5a607b06d6
Closes #14343 : avoid shadowing builtin input() in example code.
2012-03-17 17:26:27 +01:00
Georg Brandl
ce54617260
Closes #14342 : remove out-of-date section about avoiding recursion errors.
2012-03-17 17:25:47 +01:00
Senthil Kumaran
15b6f3f825
Fix closes issue14258 - added clarification to \W and \S flags
2012-03-11 20:37:39 -07:00
Ezio Melotti
d9de93eb67
#14155 : remove duplication about search vs match in re doc.
2012-02-29 13:37:07 +02:00
Ezio Melotti
38ae5b2392
#10713 : Improve documentation for \b and \B and add a few tests. Initial patch and tests by Martin Pool.
2012-02-29 11:40:00 +02:00
Sandro Tosi
98ed08f24e
update to new C roles and directives
2012-01-14 16:42:02 +01:00
Sandro Tosi
e827c13566
Issue #13690 : add re.DEBUG; patch by Filip Gruszczyński
2012-01-01 12:52:24 +01:00
Ezio Melotti
13c82d00c4
#13613 : fix example in re doc.
2011-12-17 01:17:17 +02:00
Eli Bendersky
eb7113888e
Normalize the keyword arguments documentation notation in re.rst. Closes issue #12875
2011-11-14 01:02:20 +02:00
Eli Bendersky
a203cedf44
Issue #12875 : explicitly specify default value of the optional 'flags' argument to re.* functions. Closes #12875
2011-11-11 21:25:56 +02:00
Ezio Melotti
a1958734cb
#13219 : clarify section about character sets in the re documentation.
2011-10-20 19:31:08 +03:00
Sandro Tosi
a7eb3c802e
fix description of \r; thanks to Thomas Waldmann from docs@
2011-08-19 22:54:33 +02:00
Ezio Melotti
1e5d31813a
Remove 3.1 from versionchanged
2010-11-26 09:30:44 +00:00
Georg Brandl
3b85b9b477
Merged revisions 85843,85849-85850,85867,85907,85914,86134,86187,86315-86316,86390,86424-86425,86428 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85843 | georg.brandl | 2010-10-26 08:59:23 +0200 (Di, 26 Okt 2010) | 1 line
Markup fix.
........
r85849 | georg.brandl | 2010-10-26 21:31:06 +0200 (Di, 26 Okt 2010) | 1 line
#10200 : typo.
........
r85850 | georg.brandl | 2010-10-26 21:58:11 +0200 (Di, 26 Okt 2010) | 1 line
#10200 : typo.
........
r85867 | georg.brandl | 2010-10-27 22:01:51 +0200 (Mi, 27 Okt 2010) | 1 line
Add David.
........
r85907 | georg.brandl | 2010-10-29 06:54:13 +0200 (Fr, 29 Okt 2010) | 1 line
#10222 : fix for overzealous AIX compiler.
........
r85914 | georg.brandl | 2010-10-29 08:17:38 +0200 (Fr, 29 Okt 2010) | 1 line
(?:...) is a non-capturing, but still grouping construct.
........
r86134 | georg.brandl | 2010-11-03 08:41:00 +0100 (Mi, 03 Nov 2010) | 1 line
A newline in lineno output breaks pyframe output.
........
r86187 | georg.brandl | 2010-11-05 08:10:41 +0100 (Fr, 05 Nov 2010) | 1 line
Move glossary entry to the right position and fix link.
........
r86315 | georg.brandl | 2010-11-08 12:05:18 +0100 (Mo, 08 Nov 2010) | 1 line
Fix latex conversion glitch in property/feature descriptions.
........
r86316 | georg.brandl | 2010-11-08 12:08:35 +0100 (Mo, 08 Nov 2010) | 1 line
Fix typo.
........
r86390 | georg.brandl | 2010-11-10 08:57:10 +0100 (Mi, 10 Nov 2010) | 1 line
Fix typo.
........
r86424 | georg.brandl | 2010-11-12 07:19:48 +0100 (Fr, 12 Nov 2010) | 1 line
Build a PDF of the FAQs too.
........
r86425 | georg.brandl | 2010-11-12 07:20:12 +0100 (Fr, 12 Nov 2010) | 1 line
#10008 : Fix duplicate index entry.
........
r86428 | georg.brandl | 2010-11-12 09:09:26 +0100 (Fr, 12 Nov 2010) | 1 line
Fix weird line block in table.
........
2010-11-26 08:20:18 +00:00
Georg Brandl
e0289a34bd
Merged revisions 82832,82834 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82832 | georg.brandl | 2010-07-12 11:00:29 +0200 (Mo, 12 Jul 2010) | 1 line
Take care of duplicate target name warnings.
........
r82834 | georg.brandl | 2010-07-12 11:06:13 +0200 (Mo, 12 Jul 2010) | 1 line
Use raw string literals for regexes containing backlash.
........
2010-08-01 21:44:38 +00:00
R. David Murray
a63f9b674b
Merged revisions 82771 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82771 | r.david.murray | 2010-07-10 10:23:36 -0400 (Sat, 10 Jul 2010) | 2 lines
Add missing docs for re module 'purge' function.
........
2010-07-10 14:25:18 +00:00
Georg Brandl
b1a14051b7
Put docs for RegexObject.search() before RegexObject.match() to mirror re.search() and re.match() order.
2010-06-01 07:25:23 +00:00
Georg Brandl
f93ce0c1f5
#8785 : less confusing description of regex.find*.
2010-05-22 08:17:23 +00:00
Eric Smith
368ede83d9
Issue 8671: Whitespace fix.
2010-05-09 14:04:59 +00:00
Brian Curtin
fbe519975b
Fix #6538 . Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
2010-03-25 23:48:54 +00:00
Ezio Melotti
d0ff51c43f
#7685 : typo
2010-01-13 00:25:03 +00:00
Georg Brandl
04fd324fe3
#6679 : Remove mention that sub supports no flags.
2009-08-13 07:48:05 +00:00
Mark Dickinson
fe67bd9168
Issue #6561 : '\d' regular expression should not match characters of
...
category [No]; only those of category [Nd]. (Backport of r74237
from py3k.)
2009-07-28 20:35:03 +00:00
Georg Brandl
74f8fc0b1b
#6576 : fix cross-refs in re docs.
2009-07-26 13:36:39 +00:00
Georg Brandl
5206086e0d
#4882 : document named group behavior a bit better.
2009-03-31 19:06:57 +00:00
Georg Brandl
382edff289
#5519 : remove reference to Kodos, which seems dead.
2009-03-31 15:43:20 +00:00
Georg Brandl
545a134916
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.
2009-03-15 21:59:37 +00:00
Gregory P. Smith
ae91d0907d
Adds an optional flags argument to re.split, re.sub and re.subn to be
...
consistent with the other re module functions.
2009-03-02 05:13:57 +00:00
Gregory P. Smith
0261e5d0b6
The note about caching of regular expression objects was incorrect ReST and
...
thus invisible in the compiled documentation. Fixed. Also I cleaned up the
wording.
2009-03-02 04:53:24 +00:00
Georg Brandl
c62ef8b4d9
Remove trailing whitespace.
2009-01-03 20:55:06 +00:00
Georg Brandl
b46f0d788c
#4408 : document regex.groups.
2008-12-05 07:49:49 +00:00
Georg Brandl
b46d6ff279
Add ordering info for findall and finditer.
2008-07-19 13:48:44 +00:00
Mark Summerfield
700a635091
Added a note to [] that special forms & special chars lose their meaning
...
and backrefs can't be used inside []
2008-05-31 13:05:34 +00:00
Georg Brandl
2e829cb769
Add Kodos as a re reference.
2008-05-09 06:36:07 +00:00
Georg Brandl
838b4b0145
No need to specify explicit "doctest_block" anymore.
2008-03-22 13:07:06 +00:00
Georg Brandl
6199e32a74
Make doctests in re docs usable with sphinx' doctest.
2008-03-22 12:04:26 +00:00
Georg Brandl
70992c3c83
Expand on re.split behavior with captured expressions.
2008-03-06 07:19:15 +00:00
Georg Brandl
907a720f89
A lot more typo fixes by Ori Avtalion.
2008-02-22 12:31:45 +00:00
Georg Brandl
1cf0522f26
Convert external links to internal links. Fixes #2010 .
2008-02-05 12:01:24 +00:00
Amaury Forgeot d'Arc
d08a8ebf2a
Closing issue1761.
...
Surprising behaviour of the "$" regexp: it matches the
end of the string, AND just before the newline at the end
of the string::
re.sub('$', '#', 'foo\n') == 'foo#\n#'
Python is consistent with Perl and the pcre library, so
we just document it.
Guido prefers "\Z" to match only the end of the string.
2008-01-10 21:59:42 +00:00
Georg Brandl
b19be571e0
Some cleanup in the docs.
2007-12-29 10:57:00 +00:00
Georg Brandl
d6b20dc54f
Better re.split examples.
2007-12-06 09:45:39 +00:00
Georg Brandl
b8df156ab5
Add examples to re docs. Written for GHOP by Dan Finnie.
2007-12-05 18:30:48 +00:00
Georg Brandl
e7a0990113
Add :term:s for iterator.
2007-10-21 12:10:28 +00:00