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

Re: ^\s not equal \S?

by Anonymous Monk
on Dec 04, 2003 at 08:50 UTC ( #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
Node Status?
node history
Node Type: note [id://312144]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2020-02-22 10:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (99 votes). Check out past polls.

    Notices?