How to print all expressions that match a regular expression
Grant Edwards
invalid at invalid.invalid
Sat Feb 6 21:44:27 EST 2010
On 2010-02-06, Roy Smith <roy at panix.com> wrote:
>> I am a fresh man with python. I know there is regular expressions in
>> Python. What I need is that given a particular regular expression,
>> output all the matches.
[..]
> Please enumerate all the strings which match ".*". Use additional sheets
> of paper if needed.
And be sure to show your work.
--
Grant
More information about the Python-list
mailing list