Letter class in re

Chris Angelico rosuav at gmail.com
Mon Mar 9 10:44:38 EDT 2015


On Tue, Mar 10, 2015 at 1:41 AM, Antoon Pardon
<antoon.pardon at rece.vub.ac.be> wrote:
> Op 09-03-15 om 14:35 schreef Chris Angelico:
>> On Mon, Mar 9, 2015 at 11:26 PM, Antoon Pardon
>> <antoon.pardon at rece.vub.ac.be> wrote:
>>> It seems odd that one should need such an ugly expression for something that is
>>> used rather frequently for parsing computer languages and the like.
>> Possibly because computer language parsers don't use regular expressions. :)
>>
> Trying to be funny by being pedantic. Maybe your experience is different from mine,
> but it rarely seems to work IMO.

Not sure what you mean there - what "rarely seems to work"? I've never
written a language parser based on regexps, which is the point of what
I was saying.

ChrisA



More information about the Python-list mailing list