Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: (Zigster) Help with reg expressions

by zigster (Hermit)
on May 03, 2001 at 20:20 UTC ( #77698=note: print w/replies, xml ) Need Help??


in reply to Re: Help with reg expressions
in thread Help with reg expressions

Nooo see Death to Dot Star for a full discussion. This is a greedy match. The dot star will match as much as possible and is dangerous. At very least use a ? to cause a lazy match. When you say everything do you mean everything or do you mean only letters then try  [A-Za-z]{4} or  \w{4} (The {4} matches 4 times only) Try to make your regexp as specific as possible.
--

Zigster

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://77698]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2017-09-25 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (290 votes). Check out past polls.

    Notices?