summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libre.tex
Commit message (Collapse)AuthorAgeFilesLines
* Fix example regular expressions that simulate scanf() constructs.Fred Drake2002-12-031-3/+3
|
* Fix broken markup.Fred Drake2002-11-131-1/+1
| | | | Closes SF bug #637807.
* Clarified meaning of \w and \W with respect to the UNICODE and LOCALE flags.Fred Drake2002-11-121-5/+5
| | | | Closes SF bug #635595.
* Use personal e-mail addressAndrew M. Kuchling2002-10-301-1/+1
|
* fixed the mail address in the documentation, too...Fredrik Lundh2002-10-191-1/+1
|
* tightened up the definition of \b and \B some more based upon discussionSkip Montanaro2002-09-071-7/+11
| | | | after the last checkin.
* update docs to reflect that \b considers underscore to be part of a word.Skip Montanaro2002-09-061-2/+2
|
* Clarify the endpos argument to the rx.match() method.Fred Drake2002-08-201-2/+6
| | | | Closes SF bug #597177.
* SF patch #581414: info reader bugFred Drake2002-07-301-1/+3
| | | | | | | | The "Matching vs. Searching" Info node is unreachable from the Info program (but is fine in Emacs's Info mode). This patch seems to fix it. This is the only occurrence where the info reader fails, so probably it could be addressed in the python docs as a workaround. Forwarded the report to the info maintainer.
* Correct the RE equivalent of scanf()'s %x and %X patterns.Fred Drake2002-06-221-1/+1
| | | | Closes SF bug #572169.
* Explain octal escapes. Fixes #542226.Martin v. Löwis2002-04-111-5/+3
|
* Remove mention of 'pre' moduleAndrew M. Kuchling2002-04-101-9/+0
| | | | (2.2 bugfix candidate?)
* 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
|