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

Re^3: Regex with HTML::Entities

by ikegami (Patriarch)
on Nov 23, 2021 at 15:00 UTC ( [id://11139056]=note: print w/replies, xml ) Need Help??


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 = "✶";

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-04-19 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found