Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 browsing the Monastery: (13)
As of 2014-11-28 13:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (197 votes), past polls