Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: utf weirdness in regex

by kelan (Deacon)
on Jul 26, 2004 at 21:12 UTC ( #377583=note: print w/replies, xml ) Need Help??


in reply to Re^3: utf weirdness in regex
in thread utf weirdness in regex

Note that inside a character class, a period is not special: it means just period. So this:

/[\w\s.]+/
would match one or more of (word chars, space chars, periods) in any combination.

In other words, your first two examples are equivalent, not your second two.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2022-05-17 10:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (65 votes). Check out past polls.

    Notices?