Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Trying to count the captures in a compiled regular expression

by BooK (Curate)
on May 03, 2004 at 01:01 UTC ( #349891=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    sub captures {
        local $_ = shift;
  2. or download this
    use Test::More;
    for ( @regexps ) {
        is( captures( $_->[0] ), $_->[1], "$_->[1] captures" );

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://349891]
Approved by Zaxo
Front-paged by broquaint
[pryrt]: stevieb: going thru cblast to get caught up, I see that strawberry fixed their download hashes. Fast turnaround on that fix. :-)
[pryrt]: Are you going to tie the berrybrew expected hashes to their releases.json to keep it always up-to-date?

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-03-30 13:19 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (357 votes). Check out past polls.