Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Regex For Removing Emoji

by LanX (Saint)
on Nov 12, 2016 at 14:59 UTC ( [id://1175791]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Regex For Removing Emoji
in thread Regex For Removing Emoji

Better dump the $text your application handles, before and after applying the regexes.

I suspect the data you are processing doesn't look like it is supposed to do. (Probably Html escaped)

Anyway, in general providing us with a complete test script showing input and output would help you and us.

Often errors are spotted by the authors when preparing a post like this.

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!

Fwiw, for those interested the monastery transforms the provided emojis 🍷✨⛓ 🔪🐷 ⏳🎣 into 🍷✨⛓ 🔪🐷 ⏳🎣  within code blocks

Replies are listed 'Best First'.
Re^4: Regex For Removing Emoji
by Beaker (Beadle) on Nov 12, 2016 at 17:00 UTC
    Thanks, I didn't realise it was getting converted to decimal somewhere along the way. Sorted now.
Re^4: Regex For Removing Emoji (browser)
by tye (Sage) on Nov 14, 2016 at 20:05 UTC
    Fwiw, for those interested the monastery transforms the provided emojis [...] within code blocks

    Actually, it is your browser that is doing that (when you submit the form). Just FYI.

    - tye        

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2024-03-28 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found