java.lang.Object
org.htmlunit.corejs.javascript.regexp.RegExpEngineAccess
Simple wrapper to use the RegExp engine without js.
This is required for implementing input validation.
- Author:
- Ronald Brill
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmatches(Context cx, String input, RegExpEngineAccess.CompiledRegExp compiledRegExp)
-
Constructor Details
-
RegExpEngineAccess
public RegExpEngineAccess()
-
-
Method Details
-
compile
public static RegExpEngineAccess.CompiledRegExp compile(Context cx, String regExp, String regExpArgs) -
matches
public static boolean matches(Context cx, String input, RegExpEngineAccess.CompiledRegExp compiledRegExp)
-