JS: Simplify charpred of Match

This commit is contained in:
Asger F
2019-11-06 12:19:04 +00:00
parent c01005a610
commit 4680e3a89a

View File

@@ -269,7 +269,7 @@ newtype TState =
(
i = 0
or
i = [ 1 .. t.(RegExpConstant).getValue().length() - 1 ]
exists(t.(RegExpConstant).getValue().charAt(i))
)
} or
Accept(RegExpRoot l) { l.isRelevant() }