summaryrefslogtreecommitdiffstats
path: root/Lib/lib-old/grep.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-79/+0
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-59/+59
|
* Fixed syntax error.Sjoerd Mullender2001-02-091-1/+1
|
* String method conversion.Eric S. Raymond2001-02-091-2/+1
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-1/+1
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Added pgrep() function, which is like grep/egrep/emgrep but uses PerlGuido van Rossum1997-10-221-0/+18
| | | | syntax, by virtue of the new re module.
* Use *args syntax instead of +argsGuido van Rossum1992-04-061-3/+3
|
* Now uses varargs syntax to grep more than one file.Guido van Rossum1992-01-121-30/+48
|
* New == syntaxGuido van Rossum1992-01-011-1/+1
|
* Adapted to new "regex" module.Guido van Rossum1991-12-311-10/+22
| | | | | | Introduced egrep() and emgrep() variants. Use '==' for equality test. .,
* save match function instead of regexp objectGuido van Rossum1991-08-161-2/+2
|
* Initial revisionGuido van Rossum1990-12-261-0/+32