Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: (GOLF) - multiple digit finder regex - 17 chars

by particle (Vicar)
on Feb 02, 2002 at 21:38 UTC ( [id://142965]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/local/bin/perl -w
    use strict;
    ...
        next if /^$/;
        /.*?([0-9]).*?\1/ ? print "$_\tmultiple $1\n" : print "$_\tsingle\
    +n";
    }
    
  2. or download this
    Use of uninitialized value in concatenation (.) or string at test_matc
    +h1.pl line 10.
    Nested quantifiers before HERE mark in regex m/.*?([0-9]).*?+ << HERE 
    +/ at test_match1.pl line 10.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-28 22:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found