diff --git a/lib/util/lex-parser.js b/lib/util/lex-parser.js index f8a1d7901..2043c845f 100644 --- a/lib/util/lex-parser.js +++ b/lib/util/lex-parser.js @@ -1101,7 +1101,7 @@ case 37: } // a 'keyword' starts with an alphanumeric character, // followed by zero or more alphanumerics or digits: - var re = XRegExp('\\w[\\w\\d]*$', 'u'); + var re = new XRegExp('\\w[\\w\\d]*$', XRegExp._registeredFlags()['u'] ? 'u' : ''); if (XRegExp.match(this.$, re)) { this.$ = yyvstack[$0] + "\\b"; } else { diff --git a/modules/ebnf-parser b/modules/ebnf-parser index 4553e4d76..f09d16bd0 160000 --- a/modules/ebnf-parser +++ b/modules/ebnf-parser @@ -1 +1 @@ -Subproject commit 4553e4d76afc04275c20e0189ac4cabba8e7b036 +Subproject commit f09d16bd07aab4d07780fac28c24616e9fed22e1 diff --git a/modules/jison-lex b/modules/jison-lex index cb458d22a..63fc1a740 160000 --- a/modules/jison-lex +++ b/modules/jison-lex @@ -1 +1 @@ -Subproject commit cb458d22a35b24e3fd5757bd4a50ac7dd454938f +Subproject commit 63fc1a7401a11581cc7388e510e91cd799f3d649 diff --git a/modules/lex-parser b/modules/lex-parser index 89bf2a79a..2be43346d 160000 --- a/modules/lex-parser +++ b/modules/lex-parser @@ -1 +1 @@ -Subproject commit 89bf2a79a8123534f947f3791b6f868922d2a908 +Subproject commit 2be43346db4fb503ef34fcd1b5eb3c80c2f55d27 diff --git a/web/content/assets/js/jison.js b/web/content/assets/js/jison.js index 795837a7c..ccc0289f8 100644 --- a/web/content/assets/js/jison.js +++ b/web/content/assets/js/jison.js @@ -7615,7 +7615,7 @@ case 37: } // a 'keyword' starts with an alphanumeric character, // followed by zero or more alphanumerics or digits: - var re = XRegExp('\\w[\\w\\d]*$', 'u'); + var re = new XRegExp('\\w[\\w\\d]*$', XRegExp._registeredFlags()['u'] ? 'u' : ''); if (XRegExp.match(this.$, re)) { this.$ = yyvstack[$0] + "\\b"; } else {