We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are many different variants which can all be normalized to -: https://www.compart.com/en/unicode/category/Pd http://jkorpela.fi/dashes.html
-
However, to keep things simple: https://en.wikipedia.org/wiki/Wikipedia:Hyphens_and_dashes
=>
["–": "-"], ["—": "-"], ["−": "-"], ["‒": "-"],
The text was updated successfully, but these errors were encountered:
Side note: there is already an "underscore" transliteration for a similar-looking Arabic character:
transliterate/replacements.js
Line 245 in 4058138
Sorry, something went wrong.
We can do:
string.replace(/\p{Dash_Punctuation}/gu, '-');
to cover all the dashes.
Full reference: https://www.unicode.org/Public/UCD/latest/ucd/PropertyValueAliases.txt
No branches or pull requests
There are many different variants which can all be normalized to
-
:https://www.compart.com/en/unicode/category/Pd
http://jkorpela.fi/dashes.html
However, to keep things simple:
https://en.wikipedia.org/wiki/Wikipedia:Hyphens_and_dashes
=>
The text was updated successfully, but these errors were encountered: