develooper Front page | perl.perl5.porters | Postings from August 2000

Re: Proposal for \v and \V, the small- and large- cut regex operators.

From:
Rich Morin
Date:
August 10, 2000 12:14
Subject:
Re: Proposal for \v and \V, the small- and large- cut regex operators.
Message ID:
v04220828b5b876ff9a0d@w205.z205158144.scl-ca.dsl.cnc.net
The kinds of RE slicing and dicing that are being demonstrated in this
discussion are good examples of just how difficult these things can be
to explain (or even understand :-).  Some non-RE Perl expressions are
also difficult for many (including myself) to understand.

I would love to see some automated tools (e.g., an expanding browser)
that would parse and explain pieces of arcane Perl code.  As examples,
such a browser might be able to:

   *  add parentheses, to show order of evaluation, etc.

   *  break up REs into reasonable multi-line versions,
      possibly annotated in some manner

   *  Draw Jeffrey's diagrams for REs.

-r
--
Rich Morin:          rdm@cfcl.com, +1 650-873-7841, http://www.cfcl.com/rdm
Prime Time Freeware: info@ptf.com, +1 408-433-9662, http://www.ptf.com
MacPerl: http://www.macperl.com, http://www.ptf.com/ptf/products/MPPE
MkLinux: http://www.mklinux.org, http://www.ptf.com/ptf/products/MKLP



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About