Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: using ? and ?? in regex

by merlyn (Sage)
on Apr 26, 2001 at 17:40 UTC ( [id://75784]=note: print w/replies, xml ) Need Help??


in reply to using ? and ?? in regex

? in a regex doesn't mean "one character". It's a modifier. You want "." instead. So ".." to find any two characters.

Regex syntax is not glob (filename wildcards) syntax.

-- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-26 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found