summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libre.tex
Commit message (Collapse)AuthorAgeFilesLines
* Document the finditer() function and method.Fred Drake2002-03-251-2/+26
| | | | | | | | This closes SF bug #520904. Explain that many of the escapes supported by string literals are also supported by the RE compiler, and list which ones. This closes SF bug #529923.
* Remove extra verb; reported by Detlef Lannert.Fred Drake2002-03-181-2/+1
|
* Fix stupid typo in example.Fred Drake2002-03-161-1/+1
|
* Clarify the descriptions of the positive and negative lookbehind assertions.Fred Drake2002-03-161-9/+30
| | | | | Added examples of positive lookbehind assertions. This closes SF bug #529708.
* Remove extra indenatation from sample interpreter session.Fred Drake2002-03-051-11/+11
| | | | | Remove whitespace from the middle of an inline RE example; it was OK for the typeset formats, but LaTeX2HTML is more touchy about this.
* add simple example of avoiding backtrackingSkip Montanaro2002-03-041-6/+22
|
* Fix error in explanation of the interaction between $ and MULTILINE mode.Fred Drake2002-02-251-1/+1
| | | | Reported by Steve Alexander.
* Consistently use \textasciicircum to produce a ^ character.Fred Drake2002-02-141-18/+25
| | | | LaTeX really falls flat on this one!
* Neil Schemenauer suggested a small improvement to one of the example REs.Fred Drake2001-11-291-1/+1
|
* New section of regular expression examples contributed by Skip Montanaro,Fred Drake2001-11-291-0/+56
| | | | | with some extensions and changes from me. This closes SF patch #472825.
* Update obsolete e-mail address, and remove myself as a module authorAndrew M. Kuchling2001-11-051-2/+1
|
* Improved error msg when a symbolic group name is redefined. Added docsTim Peters2001-11-031-17/+18
| | | | | | and NEWS. Bugfix candidate? That's a dilemma for Anthony <wink>: /F did fix a longstanding bug here, but the fix can cause code to raise an exception that previously worked by accident.
* Use the \note and \warning macros where appropriate.Fred Drake2001-10-201-4/+4
|
* A regexp example was rendered asTim Peters2001-10-051-1/+1
| | | | | | | | | | foo\d when it was clearly intended to render as foo$ Fred, is this a right way to fix it? If not, the earlier place in the same paragraph that does render as foo$ is also wrong.
* Plant a mention in the description of backreferences of the fact thatEric S. Raymond2001-08-281-1/+5
| | | | while \0 doesn't do what one might expect, \g<0> does.
* Add a caveat about boundary conditions and RE concatenation, so that theFred Drake2001-08-021-9/+12
| | | | | | | documents do not make an overly-strong assertion about the properties of RE concatenation. Add an example of RE{m,} syntax and what it will and will not match.
* Added an example of a string value for the replacement parameter toFred Drake2001-08-011-44/+60
| | | | | | | | | re.sub(). This closes SF bug #446136. Fixed description of RE modifiers so that RE{#} and RE{#,} are more clearly described and disambiguated (plain RE{#} had not been described at all). Reported by Jeremy Craven via email.
* Be more specific about corner cases in the description of the $ RE syntax,Fred Drake2001-07-231-4/+7
| | | | | | and include an example where the MULTILINE flag makes a real difference. This closes SF bug #441600.
* Fix return value for m.group() for groups not in the part of the RE thatFred Drake2001-07-121-42/+47
| | | | | | matched; reported by Paul Moore. Wrapped several long lines.
* Fix up a few style nits -- avoid "e.g." and "i.e." -- these makeFred Drake2001-07-061-8/+10
| | | | | translation more difficult, as well as reading the English more difficult for non-native speakers.
* Suggestion from Keith Briggs: refer to RE objects consistently instead ofFred Drake2001-04-181-10/+9
| | | | introducing a new term ("regex") without defining it.
* Convert several \seetext references to \seerfc and \seetitle versions.Fred Drake2001-04-121-8/+9
| | | | | These format somewhat better and include more semantic information in the source.
* Document the .lastindex and .lastgroup attributes of MatchObjectAndrew M. Kuchling2000-10-181-0/+10
|
* Fixed a large number of small problems, mostly noted by Detlef LannertFred Drake2000-10-101-1/+1
| | | | <lannert@lannert.rz.uni-duesseldorf.de>.
* Made a number of revisions suggested by Fredrik Lundh.Fred Drake2000-10-061-12/+33
| | | | | Revised the first paragraph so it doesn't sound like it was written when 7-bit strings were assumed; note that Unicode strings can be used.
* Document the lookbehind assertions (closing bug#115119)Andrew M. Kuchling2000-10-051-0/+15
|
* Document expand() method of MatchObjectsAndrew M. Kuchling2000-10-051-0/+9
|
* Updates from Fredrik Lundh <effbot@telia.com> about Unicode-relatedFred Drake2000-09-251-31/+43
| | | | behavior.
* Minor markup nits around use of \optional.Fred Drake2000-09-071-10/+10
|
* Changed obsolete e-mail aliasAndrew M. Kuchling2000-06-271-2/+2
|
* Use \citetitle in one place.Fred Drake1999-11-091-1/+1
|
* For "Matching vs. Searching", remove comment that the section isFred Drake1999-06-291-8/+6
| | | | | incomplete; I don't remember what else I thought I was going to put in, but it looks o.k. to me know.
* Misspellling: "occurance" --> "occurrence"Fred Drake1999-04-091-1/+1
|
* Moved \versionadded to end of description sections.Fred Drake1999-02-021-1/+1
|
* Revised comments on null bytes in pattern string.Fred Drake1999-01-191-5/+6
| | | | Removed "New" from module synopsis.
* Adjust a few niggles that affected the HTML conversion (a couple ofFred Drake1998-12-281-3/+3
| | | | "^"s were being dropped in the context of [^...]).
* Start of text that describes differences between match and search.Fred Drake1998-12-221-5/+40
| | | | Strengthen pointers to the search() function and method.
* Nits to support conversions.Fred Drake1998-11-301-7/+4
|
* Added URL to HOWTO page, with reference to Regex HOWTO.Andrew M. Kuchling1998-10-281-6/+6
| | | | Corrected error: {,5} is not equivalent to {0,5}.
* Moved search and match around so that search is documented first.Guido van Rossum1998-10-131-25/+25
|
* Explicitly document the fact that the search method returns a MatchObject.Guido van Rossum1998-09-211-1/+2
| | | | (Reported by Gary Herron.)
* re.findall(): Mark as added in 1.5.2.Fred Drake1998-09-181-0/+1
|
* Markup nits.Fred Drake1998-09-101-36/+36
|
* Clarify wording in the description of re.splitAndrew M. Kuchling1998-08-141-5/+5
| | | | Simplify the patterns in the examples for re.split
* New section header style.Fred Drake1998-08-101-1/+2
| | | | Fix up a few synopses.
* re is standard, not built-in.Fred Drake1998-08-071-3/+6
|
* Adjusted to use the new module synopsis support macros.Fred Drake1998-07-231-2/+4
|
* Document new default arg to groups() and new functions/methodsGuido van Rossum1998-06-291-6/+25
| | | | groupdict() and findall().
* Fix unclear wording pointed out by Tim Peters, about the interaction betweenAndrew M. Kuchling1998-06-221-3/+5
| | | | | ^ and the pos argument to re.match(). Also, fixed a typo in libregex.tex.
* Added \label to subsections which didn't have one, since this module hasFred Drake1998-04-201-0/+7
| | | | subsections listed in the documentation index sidebar. (Why?)