Bläddra i källkod

[php] remove 'u' from user-defined EReg options (#8861)

Aleksandr Kuzmenko 5 år sedan
förälder
incheckning
0d606c2415
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      std/php/_std/EReg.hx

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

@@ -37,6 +37,7 @@ import php.*;
 		this.pattern = r;
 		options = Global.str_replace('g', '', opt);
 		global = options != opt;
+		options = Global.str_replace('u', '', options);
 		this.re = '"' + Global.str_replace('"', '\\"', r) + '"' + options;
 	}