Explorar el Código

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

ARATA Mizuki hace 9 años
padre
commit
e8ccaab32a
Se han modificado 1 ficheros con 1 adiciones y 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;
 			}