Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by Anonymous Monk
on Jul 05, 2002 at 20:00 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://179728]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 10:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found