RegExp question

Michael McGarry michael.mcgarry at gmail.com
Tue Apr 11 14:44:50 EDT 2006


Hi,

I would like to form a regular expression to find a few different
tokens (and, or, xor) followed by some variable number of whitespace
(i.e., tabs and spaces) followed by a hash mark (i.e., #). What would
be the regular expression for this?

Thanks for any help,

Michael




More information about the Python-list mailing list