Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^3: Regex For Removing Emoji

by LanX (Sage)
on Nov 12, 2016 at 14:59 UTC ( #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? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-09-28 04:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (124 votes). Check out past polls.

    Notices?