Re: [perl-python] text pattern matching, and expressiveness

2005-02-11 Thread Aaron Sherman
John Bokma wrote: Xah Lee wrote: Perl is a language of syntactical variegations. Python on the other hand, does not even allow changes in code's indentation, but its efficiency and power in expression, with respect to semantics (i.e. algorithms), showcases Perl's poverty in specification. Clarify

Re: [perl-python] text pattern matching, and expressiveness

2005-02-08 Thread Diez B. Roggisch
> He (XL) is a troll and admits it. If only he would include that > information up-front in his (IMO worthless) [perl-python] posts, it would > save a lot of effort. He does - all of his posts start with [perl-python]. Now the big question is which community comes up with a better/nicer/shorter/w

Re: [perl-python] text pattern matching, and expressiveness

2005-02-08 Thread Daniel Fackrell
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Xah Lee wrote: > > > Perl is a language of syntactical variegations. Python on the other > > hand, does not even allow changes in code's indentation, but its > > efficiency and power in expression, with respect to semantics

Re: [perl-python] text pattern matching, and expressiveness

2005-02-07 Thread John Bokma
Xah Lee wrote: > Perl is a language of syntactical variegations. Python on the other > hand, does not even allow changes in code's indentation, but its > efficiency and power in expression, with respect to semantics (i.e. > algorithms), showcases Perl's poverty in specification. Clarify :-D. --

[perl-python] text pattern matching, and expressiveness

2005-02-07 Thread Xah Lee
20050207 text pattern matching # -*- coding: utf-8 -*- # Python # suppose you want to replace all strings of the form # # to # # in your html files. # you can use the "re" module. import re text = r''' blab blab look at this pict and this one , both are beautiful, but also look: , and sequ