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

Re^3: Regex question : How to match \w and just the dash

by dakkar (Hermit)
on Dec 18, 2004 at 14:07 UTC ( #415858=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Regex question : How to match \w and just the dash
in thread Regex question : How to match \w and just the dash

Just nit-picking, but keep in mind that \w and \W are not the same thing (note the case / capitalization). In fact, they are each other's complement: a character matched by \w will not be matched by \W, and vice versa.

-- 
        dakkar - Mobilis in mobile

Most of my code is tested...

Perl is strongly typed, it just has very few types (Dan)


Comment on Re^3: Regex question : How to match \w and just the dash

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2014-04-17 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (458 votes), past polls