in reply to Re^2: Regex with HTML::Entities
in thread Regex with HTML::Entities

Please show the output of

printf "%vX\n", $text;

I bet your text doesn't actually contain ✶. Did you decode your inputs? You probably have it in its encoded form.


By the way,

my $sep = decode_entities('✶');

is a complicated way of writing

my $sep = "\N{U+2736}";

or

my $sep = "\x{2736}";

or

use utf8;
my $sep = "✶";