Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Perl6: too bad non-greediness is not made the default

by Anonymous Monk
on Jul 05, 2002 at 20:00 UTC ( #179728=note: print w/ replies, xml ) Need Help??


in reply to Perl6: too bad non-greediness is not made the default
in thread Parsing with Perl 6

I do not think your high use of non-greediness is anywhere near the norm. A rough and ready regex tromp through the .pl and .pm files in the 5.8.0 distribution shows greedy usage to exceed non-greedy usage by around 10 to 1. So the huffman argument would appear to be against you on this one.


Comment on Re: Perl6: too bad non-greediness is not made the default
Re: Re: Perl6: too bad non-greediness is not made the default
by Anonymous Monk on Jul 06, 2002 at 13:07 UTC
    But does greedy usage exceed non-greedy usage because people wanted to be greedy, or because they didn't care and omitting the ? is easier?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://179728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (10)
As of 2014-08-29 14:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (280 votes), past polls