org.mozilla.javascript
Interface RegExpProxy
- RegExpImpl
public interface RegExpProxy
A proxy for the regexp package, so that the regexp package can be
loaded optionally.
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 re, int[] ip, int[] matchlen, boolean[] matched, String[][] parensp)
|
boolean | isRegExp(Scriptable obj)
|
Scriptable | wrapRegExp(Context cx, Scriptable scope, Object compiled)
|
RA_MATCH
public static final int RA_MATCH
RA_REPLACE
public static final int RA_REPLACE
RA_SEARCH
public static final int RA_SEARCH
compileRegExp
public Object compileRegExp(Context cx,
String source,
String flags)
find_split
public int find_split(Context cx,
Scriptable scope,
String target,
String separator,
Scriptable re,
int[] ip,
int[] matchlen,
boolean[] matched,
String[][] parensp)