Skip to content
Snippets Groups Projects
Unverified Commit 799f123e authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Support arbitrary currency symbols in expressions (#602)

parent a2c2cf75
No related branches found
No related tags found
No related merge requests found
......@@ -36,8 +36,7 @@ function parsePrimary(state) {
next(state);
}
// TODO: Support currency symbols better
if (char(state) === '$') {
if (/\p{Sc}/u.test(char(state))) {
next(state);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment