Explorar o código

[lua] Support "u" flag (UTF-8 mode) in EReg

ARATA Mizuki %!s(int64=9) %!d(string=hai) anos
pai
achega
e8ccaab32a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      std/lua/_std/EReg.hx

+ 1 - 0
std/lua/_std/EReg.hx

@@ -41,6 +41,7 @@ class EReg {
 				case "i" : ropt |= FLAGS.CASELESS;
 				case "m" : ropt |= FLAGS.MULTILINE;
 				case "s" : ropt |= FLAGS.DOTALL;
+				case "u" : ropt |= FLAGS.UTF8;
 				case "g" : global = true;
 				default : null;
 			}