Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Is there anything that would not be matched by /\w\W/i ?

by alfie (Pilgrim)
on May 30, 2001 at 14:42 UTC ( [id://84214]=note: print w/replies, xml ) Need Help??


in reply to Is there anything that would not be matched by /\w\W/i ?

There are quite many strings that doesn't match your pattern: Everything that contains only of
  • word characters
  • non-word characters
  • non-word characters followed by word-characters
  • the empty string
If you meant what arhuman thought (/[\w\W]/i) he has forgot that it wouldn't match the empty string, even then.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-25 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found