Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: ^\s not equal \S?

by Anonymous Monk
on Dec 04, 2003 at 08:50 UTC ( [id://312144]=note: print w/replies, xml ) Need Help??


in reply to ^\s not equal \S?

use YAPE::Regex::Explain; print YAPE::Regex::Explain->new(qr/[\S*\W*]/)->explain; __END__ The regular expression: (?-imsx:[\S*\W*]) matches as follows: NODE EXPLANATION ---------------------------------------------------------------------- (?-imsx: group, but do not capture (case-sensitive) (with ^ and $ matching normally) (with . not matching \n) (matching whitespace and # normally): ---------------------------------------------------------------------- [\S*\W*] any character of: non-whitespace (all but \n, \r, \t, \f, and " "), '*', non-word characters (all but a-z, A-Z, 0-9, _), '*' ---------------------------------------------------------------------- ) end of grouping ----------------------------------------------------------------------

20031204 Edit by Corion: Changed PRE tags to CODE tags

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-29 15:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found