Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Trying to count the captures in a compiled regular expression

by hv (Parson)
on May 03, 2004 at 02:11 UTC ( #349900=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      /(?x:((?-x:)) # (comment)
      )/
    
  2. or download this
      /((?-x:)) # (comment)
      /x
    
  3. or download this
                else if (s[2] == '{' /* This should match regcomp.c */
                         || ((s[2] == 'p' || s[2] == '?') && s[3] == '{'))
    
  4. or download this
      our $re_true = qr{(?=)}x;
      our $re_false = qr{(?!)}x;
    ...
        )+?
        (??{ $count == 0 ? $re_true : $re_false })
      /xgc;
    

Log In?
Username:
Password:

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

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

    The best computer themed movie is:











    Results (280 votes), past polls