RegExp question

Heiko Wundram me+python at modelnine.org
Tue Apr 11 15:31:12 EDT 2006


Am Dienstag 11 April 2006 21:16 schrieb Michael McGarry:
> I am testing it with grep. (i.e., grep -e '(and|or|xor)\s*#' myfile)

Test it with Python's re-module, then. \s for matching Whitespace is specific 
to Python (AFAIK). And as you've asked in a Python Newsgroup, you'll get 
Python-answers here.

--- Heiko.



More information about the Python-list mailing list