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.