Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: regexing for non-standard characters...

by crashtest (Curate)
on Apr 15, 2010 at 23:06 UTC ( #834987=note: print w/ replies, xml ) Need Help??


in reply to Re: regexing for non-standard characters...
in thread regexing for non-standard characters...

An extra alternative:

use charnames ':full'; ... print (charnames::viacode( ord($ch))); # EM DASH
Which is of course nothing you couldn't figure out using a Unicode lookup table (like "Character Map" on Windows) once you know the code point.


Comment on Re^2: regexing for non-standard characters...
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2014-09-18 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (105 votes), past polls