Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

chromatic's dream, a python reality

by japhy (Canon)
on Sep 07, 2001 at 09:26 UTC ( [id://110835]=perlmeditation: print w/replies, xml ) Need Help??

Functional/object-oriented regex construction in Python. Needless to say, I want this.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Replies are listed 'Best First'.
Re: chromatic's dream, a python reality
by Dragonfly (Priest) on Sep 10, 2001 at 09:55 UTC
    I couldn't possibly agree more. The syntax if regexes is probably responsible for a good 40% of the complaints about Perl looking like 'line noise', and while I'm comfortable diving in and learning odd syntaxes, this style looks much more readable, and hence more maintainable, to me.

    Nice find, how can we get this into Perl 6? :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://110835]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-20 00:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found