diff options
author | Sheogorath | 2018-10-31 15:12:34 +0100 |
---|---|---|
committer | Sheogorath | 2018-10-31 15:33:45 +0100 |
commit | d188b3526ab45f989e09f2a1c1f6e7a7eacf1605 (patch) | |
tree | dffa59906b645158304e46ec864adb36829e98c6 /lib/migrations/20150508114741-create-notes.js | |
parent | 7e45533c75a3697c916e52e5f4ddff42a38bd3d5 (diff) |
Again: Replace emoji-plugin regex
The Regex introduced in the last commit[1], was already working quite
good. But still resulted in false positives for all URL that contained a
second `:`.
To fix this once and for all, we craft a simple, but long regex based on
all emoji names and use this to match them.
We could probably optimize it, but that should also be something the
regex engine itself can and should do.
[1]: 7e45533c75a3697c916e52e5f4ddff42a38bd3d5 (in this source tree)
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
Diffstat (limited to 'lib/migrations/20150508114741-create-notes.js')
0 files changed, 0 insertions, 0 deletions