Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: how to measure strictness of a regex ?

by tobyink (Abbot)
on Jan 23, 2013 at 00:30 UTC ( #1014819=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.014;
    use strict;
    ...
    
    say re_strictness qr/Dad+y/;  # says 5
    say re_strictness qr/D.+/;    # says 1
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014819]
help
Chatterbox?
[choroba]: New version of pm-cb-g pushed to GitHub

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-09-19 19:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (227 votes). Check out past polls.

    Notices?