Lucas_Werkmeister_WMDE moved this task from All WDQS-related tasks to GUI on the Wikidata-Query-Service board. Lucas_Werkmeister_WMDE added a comment. |
CodeMirror uses the RegExp /^[\w\d]*/ to match variable names, which is equivalent to /[A-Za-z0-9_]*/ and doesn’t include any other Unicode letters. Unfortunately, _javascript_ regular expressions don’t have any sort of Unicode categories like \p{L} (even ES6’s u modifier doesn’t add them, though it at least makes \p an error so that a later ES version can define it without breaking compatibility), so there’s no straightforward way to fix this, except by compiling a list of all Unicode letter ranges and hard-coding that into the RegExp.
TASK DETAIL
EMAIL PREFERENCES
To: Lucas_Werkmeister_WMDE
Cc: Lucas_Werkmeister_WMDE, Aklapper, VIGNERON, PokestarFan, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Liridon, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
Cc: Lucas_Werkmeister_WMDE, Aklapper, VIGNERON, PokestarFan, GoranSMilovanovic, QZanden, EBjune, merbst, Avner, debt, Gehel, Liridon, Jonas, FloNight, Xmlizer, Izno, jkroll, Smalyshev, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs