summaryrefslogtreecommitdiffstats
path: root/Lib/regsub.py
Commit message (Collapse)AuthorAgeFilesLines
* 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.