Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Pattern match

by SamCG (Hermit)
on Jan 17, 2006 at 21:46 UTC ( [id://523845]=note: print w/replies, xml ) Need Help??


in reply to Pattern match

I might add the "Difflist.txt" portion of your pattern will match Difflist.txt, Difflistntxt, or Difflist&txt. If you mean a literal dot, you either need to escape it or (as another poster did) put it into a character class. A character class is a grouping of possible characters you're looking for, surrounded by square brackets. [0-9.], for example, would look for any digit or the literal period.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-20 06:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found