Serhiy Storchaka
12d547a80d
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 13:45:32 +03:00
Georg Brandl
5892ab1b4a
Clarify greedy-qualifier example, avoid HTML.
2016-04-12 07:51:41 +02:00
Zachary Ware
77d61d4156
Rewrite re.VERBOSE section.
...
It now has slightly better rationale and a less awkward wording in the
explanation.
Inspired by a report of a neither/or conflict by 'animalize' on docs@.
2015-11-11 23:32:14 -06:00
Serhiy Storchaka
4809d1fccd
Issues #814253 , #9179 : Warnings now are raised when group references and
...
conditional group references are used in lookbehind assertions in regular
expressions.
2015-02-21 12:08:36 +02:00
Benjamin Peterson
72275ef7c3
remove incorrect plural
2014-11-25 14:54:45 -06:00
Georg Brandl
ae4ca79574
Closes #22736 : move seealso to the bottom of the section about RE syntax.
2014-10-28 21:41:51 +01:00
Zachary Ware
7ca2a9008d
Fix a typo caught by Gabriella Capone on docs@
2014-10-19 01:06:58 -05:00
Ezio Melotti
33b810d272
#21690 : fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
2014-06-20 00:47:11 +03:00
Terry Jan Reedy
9f7f62f06d
Issue #21593 : (from StackOverflow) minor doc clarification for re.search.
2014-05-30 16:19:50 -04:00
Georg Brandl
980db0a098
Fix example in backreference description. Found by Alexander Heger on docs@.
2013-10-06 12:58:20 +02:00
Georg Brandl
ddbdc9a6e4
Closes #15956 : improve documentation of named groups and how to reference them.
2013-10-06 12:08:14 +02:00
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