H.m7 -> H.JSSyntaxRegExp_makeNative

This commit is contained in:
shenjack 2024-04-04 01:50:46 +08:00
parent 6933679393
commit 761c5cee5c
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1515,7 +1515,7 @@ var A = {
cT(a, b) { cT(a, b) {
return a(b) || b return a(b) || b
}, },
m7(source, multiline, case_sensitive, unicode, dot_all, global) { JSSyntaxRegExp_makeNative(source, multiline, case_sensitive, unicode, dot_all, global) {
var s = multiline ? "m" : "", var s = multiline ? "m" : "",
r = case_sensitive ? "" : "i", r = case_sensitive ? "" : "i",
q = unicode ? "u" : "", q = unicode ? "u" : "",
@ -4288,7 +4288,7 @@ var A = {
return H.nZ(p) return H.nZ(p)
}, },
h_(a) { h_(a) {
return new H.ct(a, H.m7(a, false, true, false, false, false)) return new H.ct(a, H.JSSyntaxRegExp_makeNative(a, false, true, false, false, false))
}, },
o7(a, b, c) { o7(a, b, c) {
var s = J.by(b) var s = J.by(b)
@ -9303,14 +9303,14 @@ H.ct.prototype = {
r = s.c r = s.c
if (r != null) return r if (r != null) return r
r = s.b r = s.b
return s.c = H.m7(s.a, r.multiline, !r.ignoreCase, r.unicode, r.dotAll, true) return s.c = H.JSSyntaxRegExp_makeNative(s.a, r.multiline, !r.ignoreCase, r.unicode, r.dotAll, true)
}, },
gep() { gep() {
var s = this, var s = this,
r = s.d r = s.d
if (r != null) return r if (r != null) return r
r = s.b r = s.b
return s.d = H.m7(s.a + "|()", r.multiline, !r.ignoreCase, r.unicode, r.dotAll, true) return s.d = H.JSSyntaxRegExp_makeNative(s.a + "|()", r.multiline, !r.ignoreCase, r.unicode, r.dotAll, true)
}, },
eU(a) { eU(a) {
var s var s