matching one time through a loop

Sean 'Shaleh' Perry shalehperry at attbi.com
Thu May 30 21:06:57 EDT 2002


On 31-May-2002 David K. Trudgett wrote:
> On Friday 2002-05-31 at 09:55:04 +1000, Delaney, Timothy wrote:
> 
>> Seriously here ... by not having regular expressions be an integral part of
>> the language, I believe they become much more understandable. It is always
> 
> There might be something in that. However, having learned Perl before
> Python, I just find it really clunky and slow to do regex stuff in
> Python. I find that I miss the power that direct language syntax
> support for regexes gives me. There's obviously a value judgement
> there, of course: one needs to weigh up ease and speed of programming
> with other factors like cleanness, readability, and so on. Obviously,
> Python comes down on the cleanness/readability side, at the expense of
> programmer productivity in text processing.
> 

the difference is the thought "I have a problem, let's use a regex" that seems
to be key to perl programming.





More information about the Python-list mailing list