Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Reg Expression translation

by fletcher_the_dog (Friar)
on Nov 14, 2003 at 19:54 UTC ( [id://307184]=note: print w/replies, xml ) Need Help??


in reply to Reg Expression translation

/^\s*$/ is a common way of seeing if a string is empty or has just white space. Basically it matches if from the beginning ("^") to the end ("$") where there is nothing or only white space ("\s*") between.
/^\w{1,}@/ is just another way of writing /^\w+@/ which matches one or more "word" characters ("\w+") followed by "@" at the beginning of the line ("^")

Replies are listed 'Best First'.
Re: Re: Reg Expression translation
by Anonymous Monk on Nov 14, 2003 at 20:07 UTC
    thanks to everyone.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found