summaryrefslogtreecommitdiffstats
path: root/Lib/regsub.py
Commit message (Collapse)AuthorAgeFilesLines
* SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger2002-06-011-1/+1
|
* bunch more __all__ listsSkip Montanaro2001-02-151-0/+1
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* Oops...that will teach me to hit ^C^C too fast. Test passed.Eric S. Raymond2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-3/+2
|
* Whitespace normalization.Tim Peters2001-01-151-100/+100
|
* Adding a warning about the regsub module. This also disables furtherGuido van Rossum2000-12-191-0/+7
| | | | | warnings in this same module, to prevent getting a warning about importing regex (we *know* that it's obsolete :-).
* Update the code to better reflect recommended style:Fred Drake2000-12-121-3/+3
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-6/+10
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Store the current regex syntax along with the regular expressionBarry Warsaw1997-02-181-10/+15
| | | | | | | string as the key to the cache. This means that changing the syntax will return the correct compiled pattern. clear_cache(): New function.
* Use splitx() in capwords() (bugfix after interface change for split()).Guido van Rossum1996-08-091-2/+2
| | | | | Give capwords a default pattern argument which will recognize words as sequeces of [a-zA-Z0-9_].
* Changed split() to be compatible with changes to string.split(): theGuido van Rossum1996-08-081-4/+24
| | | | | | optional third argument gives a maximum number of delimiters to parse. The new function splitx() is like split() but returns a list containing the words as well as the delimiters.
* Add third arg to split(). Add capwords() -- which uses that.Guido van Rossum1996-06-111-1/+15
|
* avoid eval() like the plagueGuido van Rossum1996-05-281-1/+2
|
* New module regsub contains sub(), gsub() and split() as in nawk.Guido van Rossum1992-09-201-0/+147
string.splitfields(s, '') now returns [s] as split() in nawk. Added _exit to exported functions of os.