Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Regexp \N{name}

by Anonyrnous Monk (Hermit)
on Feb 03, 2011 at 10:35 UTC ( #885958=note: print w/ replies, xml ) Need Help??


in reply to Re: Regexp \N{name} (use of \e)

how I use special character \N{name} in regular expression

Example:

#!/usr//bin/perl -wl use strict; use charnames ':full'; my $string = "foo \N{COPYRIGHT SIGN} bar"; print "matched" if $string =~ /\N{COPYRIGHT SIGN}/;

The list of names can be found in the file .../unicore/NamesList.txt that comes with Perl.


Comment on Re: Regexp \N{name}
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2014-07-14 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (254 votes), past polls