public class HtmlUnitRegExpProxy extends org.htmlunit.corejs.javascript.regexp.RegExpImpl
input, lastMatch, lastParen, leftContext, multiline, parens, rightContextRA_MATCH, RA_REPLACE, RA_REPLACE_ALL, RA_SEARCH| Constructor and Description |
|---|
HtmlUnitRegExpProxy(org.htmlunit.corejs.javascript.RegExpProxy wrapped)
Wraps a proxy to enhance it.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
action(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
org.htmlunit.corejs.javascript.Scriptable thisObj,
Object[] args,
int actionType)
Use the wrapped proxy except for replacement with string arg where it uses Java regular expression.
|
Object |
compileRegExp(org.htmlunit.corejs.javascript.Context cx,
String source,
String flags) |
int |
find_split(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
String target,
String separator,
org.htmlunit.corejs.javascript.Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp) |
boolean |
isRegExp(org.htmlunit.corejs.javascript.Scriptable obj) |
org.htmlunit.corejs.javascript.Scriptable |
wrapRegExp(org.htmlunit.corejs.javascript.Context cx,
org.htmlunit.corejs.javascript.Scriptable scope,
Object compiled) |
js_split, registerpublic HtmlUnitRegExpProxy(org.htmlunit.corejs.javascript.RegExpProxy wrapped)
wrapped - the original proxypublic Object action(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, int actionType)
action in interface org.htmlunit.corejs.javascript.RegExpProxyaction in class org.htmlunit.corejs.javascript.regexp.RegExpImplpublic Object compileRegExp(org.htmlunit.corejs.javascript.Context cx, String source, String flags)
compileRegExp in interface org.htmlunit.corejs.javascript.RegExpProxycompileRegExp in class org.htmlunit.corejs.javascript.regexp.RegExpImplpublic int find_split(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, String target, String separator, org.htmlunit.corejs.javascript.Scriptable re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp)
find_split in interface org.htmlunit.corejs.javascript.RegExpProxyfind_split in class org.htmlunit.corejs.javascript.regexp.RegExpImplpublic boolean isRegExp(org.htmlunit.corejs.javascript.Scriptable obj)
isRegExp in interface org.htmlunit.corejs.javascript.RegExpProxyisRegExp in class org.htmlunit.corejs.javascript.regexp.RegExpImplpublic org.htmlunit.corejs.javascript.Scriptable wrapRegExp(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.Scriptable scope, Object compiled)
wrapRegExp in interface org.htmlunit.corejs.javascript.RegExpProxywrapRegExp in class org.htmlunit.corejs.javascript.regexp.RegExpImplCopyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.