Giter Club home page Giter Club logo

Comments (7)

gilmoreorless avatar gilmoreorless commented on May 25, 2024 3

I've been looking into this over the last few days, and I believe I have a fix, but it's a 2-parter (it will require a fix in regexgen combined with a tweak to the emoji-regex build process). I'll put some PRs together when I next find some spare coding time (I need to test it properly).

from emoji-regex.

gilmoreorless avatar gilmoreorless commented on May 25, 2024 2

@suprMax Thanks for the offer of help. 🙂

My main problem was making sure I actually understood how regexgen worked, especially the optimisation/simplification process. I've now got a PR open to fix the regexgen bug, and I've got another PR ready to go for emoji-regex once that fix is merged and released. I won't submit the emoji-regex PR before then, as it (unintuitively) makes the problem slightly worse without the regexgen fix. Isn't software fun? 😁

from emoji-regex.

mathiasbynens avatar mathiasbynens commented on May 25, 2024

cc @devongovett

from emoji-regex.

max-degterev avatar max-degterev commented on May 25, 2024

Same issue with '👩🏽‍🚀' and '👨🏿‍✈️', essentially anything with U+200D

from emoji-regex.

max-degterev avatar max-degterev commented on May 25, 2024

@gilmoreorless any way I could assist you on this noble quest? I resorted to generating a regex containing all emojis for now, but as you can imagine it's quite a long regex. I would like to see it shortened properly.

from emoji-regex.

mathiasbynens avatar mathiasbynens commented on May 25, 2024

@gilmoreorless regexgen v1.2.4 has been released, including your fix. I’ll wait for your PR :) Thanks so much for tackling this!

from emoji-regex.

max-degterev avatar max-degterev commented on May 25, 2024

Works perfectly! Thanks for the fix guys!

from emoji-regex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.