public class RegExpImpl extends Object implements RegExpProxy
| Modifier and Type | Field and Description |
|---|---|
protected String |
input |
protected SubString |
lastMatch |
protected SubString |
lastParen |
protected SubString |
leftContext |
protected boolean |
multiline |
protected SubString[] |
parens |
protected SubString |
rightContext |
RA_MATCH, RA_REPLACE, RA_REPLACE_ALL, RA_SEARCH| Constructor and Description |
|---|
RegExpImpl() |
| Modifier and Type | Method and Description |
|---|---|
Object |
action(Context cx,
Scriptable scope,
Scriptable thisObj,
Object[] args,
int actionType) |
Object |
compileRegExp(Context cx,
String source,
String flags) |
int |
find_split(Context cx,
Scriptable scope,
String target,
String separator,
Scriptable reObj,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp) |
boolean |
isRegExp(Scriptable obj) |
Object |
js_split(Context cx,
Scriptable scope,
String target,
Object[] args) |
void |
register(ScriptableObject scope,
boolean sealed) |
Scriptable |
wrapRegExp(Context cx,
Scriptable scope,
Object compiled) |
protected String input
protected boolean multiline
protected SubString[] parens
protected SubString lastMatch
protected SubString lastParen
protected SubString leftContext
protected SubString rightContext
public void register(ScriptableObject scope, boolean sealed)
register in interface RegExpProxypublic boolean isRegExp(Scriptable obj)
isRegExp in interface RegExpProxypublic Object compileRegExp(Context cx, String source, String flags)
compileRegExp in interface RegExpProxypublic Scriptable wrapRegExp(Context cx, Scriptable scope, Object compiled)
wrapRegExp in interface RegExpProxypublic Object action(Context cx, Scriptable scope, Scriptable thisObj, Object[] args, int actionType)
action in interface RegExpProxypublic int find_split(Context cx, Scriptable scope, String target, String separator, Scriptable reObj, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp)
find_split in interface RegExpProxypublic Object js_split(Context cx, Scriptable scope, String target, Object[] args)
js_split in interface RegExpProxyCopyright © 2025 HtmlUnit. All rights reserved.