Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Simple regex needed

by fruiture (Curate)
on Mar 20, 2003 at 19:58 UTC ( #244695=note: print w/ replies, xml ) Need Help??


in reply to Simple regex needed

m/(\d)/

SCNR. Read perlre or define things more descriptively ;)

--
http://fruiture.de


Comment on Re: Simple regex needed
Download Code
Replies are listed 'Best First'.
Re: Re: Simple regex needed
by pg (Canon) on Mar 20, 2003 at 20:24 UTC
    He didn't specify whether the number is single digit, so this would be more safe:
    /(\d+)/
      I also forgot to mention that there are other numbers in the file.

      So I need to look through the file and key my hash by using the number from the format I posted earlier.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2015-07-31 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls