mei23 / twemoji-parser Goto Github PK
View Code? Open in Web Editor NEWThis project forked from twitter/twemoji-parser
A simple library for identifying emoji entities within a string in order to render them as Twemoji.
License: MIT License
This project forked from twitter/twemoji-parser
A simple library for identifying emoji entities within a string in order to render them as Twemoji.
License: MIT License
One line summary of the issue here.
As concisely as possible, describe the expected behavior.
As concisely as possible, describe the observed behavior.
Please list all relevant steps to reproduce the observed behavior.
テキストとしても扱える絵文字コードのうち、U+FE0Fが後ろに付いてないとテキスト扱いにする絵文字として
© ® ™ chess-pawn が含まれているがchess-pawnの妥当性が不明。
chess-pawnを含めるならば麻雀牌の中も含まれているべきである。
mei23/misskey#4722
正規表現生成ソースがおそらく古いままなので、違うパターンが生成されてしまう。
更新する必要がある。
現状Scalaの正規表現コンパイラ (文字列群から正規表現を生成することをここでは言ってる) に新ロジックを追加するのが困難
正規表現コンパイラを再実装したい。
ロジック
想定されているUnicodeシーケーンスから正規表現を生成する
シーケンス内に200Dを含まない場合は一番うしろにFE0Fがなくても許容する
これ系
https://metacpan.org/release/DLAND/Regexp-Assemble-0.35/view/Assemble.pm
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.