Jaap has asked for the wisdom of the Perl Monks concerning the following question:
Greetings wise monks,
There isn't a good Beautifier for Perl afaik so i am working on one myself. It works pretty well, but needs improvement.
Now i want to match every string value and regular expression so i can replace them with something temporarily so i dont format it.
How do i match all the ways perl offers to create a string value? I currently only match stuff between "" and '' and after #. Any suggestions?
There isn't a good Beautifier for Perl afaik so i am working on one myself. It works pretty well, but needs improvement.
Now i want to match every string value and regular expression so i can replace them with something temporarily so i dont format it.
How do i match all the ways perl offers to create a string value? I currently only match stuff between "" and '' and after #. Any suggestions?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Beautifier
by Len (Friar) on Jul 30, 2002 at 14:15 UTC | |
by Jaap (Curate) on Jul 30, 2002 at 14:26 UTC | |
by broquaint (Abbot) on Jul 30, 2002 at 14:44 UTC | |
Quoting constructs (was: Re: Beautifier)
by Joost (Canon) on Jul 30, 2002 at 15:08 UTC | |
by jsprat (Curate) on Jul 30, 2002 at 16:27 UTC | |
by thelenm (Vicar) on Jul 30, 2002 at 19:56 UTC | |
by Molt (Chaplain) on Feb 21, 2005 at 14:30 UTC | |
Re: Beautifier
by vek (Prior) on Jul 30, 2002 at 14:58 UTC | |
Re: Perl code Beautifier?
by Jaap (Curate) on Jul 30, 2002 at 20:20 UTC |
Back to
Seekers of Perl Wisdom