+ 5
Help regex-ing data
So I just scraped off Sololearn's site for my next code, now I am stuck on how to extract the names. Can someone help me? https://code.sololearn.com/cu9IsRAbtCxo/?ref=app
8 Respuestas
+ 6
https://code.sololearn.com/cdPyKkMom0X0/?ref=app
+ 3
⏩ Prometheus ⏪ it would seem you accidentally posted this question thrice. Kindly remove the duplicates 😁
https://www.sololearn.com/discuss/1559292/?ref=app
https://www.sololearn.com/discuss/1559293/?ref=app
+ 3
⏩ Prometheus ⏪ You could theoretically modify regular expressions to match emojis, but that doesn't seem to work in the playground.
+ 2
As far as I know, emojis are just Unicode symbols. The regex pattern can be designed to match the unicode range where the emojis are stored (something like [\uxxxxx-\uyyyyy]), but it looks like Sololearn can't handle that. They couldn't be displayed in the console anyway
+ 1
Yerucham Yeah unintended, but removed
0
Thanks Anna !
One small problem, emoji names don't work, how do you fix it then?
0
Anna All okay, but emoji names fail to show up. How to fix that?
- 1
Anna The emojis don't show up as emojis, but some symbols right?
Is there RegEx for that?