I am running this code on 5.14:
use 5.014; use charnames ':full'; my $cgj = '\N{COMBINING GRAPHEME JOINER}'; say $cgj; my $cgj_re = qr/$cgj/xms;
And i get the error: "\N{NAME} must be resolved by the lexer in regex; marked by <-- HERE in m/\N{COMBINING GRAPHEME JOINER <-- HERE }/ at lexer.pl line 6."
Does anyone have any idea how to make it work?
(A bit of background: The code above is a minimal problem. In my actual program i read a string from a file and turn it into a regex.)
In reply to stuck with a \N{CHAR NAME} problem by amir_e_a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |