Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: (elbie): Regex not behaving as expected

by ihb (Deacon)
on Feb 01, 2003 at 16:30 UTC ( [id://231851]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      s/^.*?(\d+).*$/$1/s
  2. or download this
      s/\D*(\d+).*/$1/s
  3. or download this
      (my $sk = $file) =~ s/\D*(\d*).*/$1/s;
  4. or download this
      my ($sk) = $file =~ /(\d+)/;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 06:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found