public class Regexp
extends java.lang.Object
Constructor and Description |
---|
Regexp(StringValue rawRegexp) |
Modifier and Type | Method and Description |
---|---|
StringValue |
convertResult(Env env,
StringValue result) |
StringValue |
convertSubject(Env env,
StringValue subject) |
IllegalRegexpException |
getException() |
StringValue |
getGroupName(int i) |
StringValue |
getPattern() |
StringValue |
getRawRegexp() |
protected void |
init() |
boolean |
isEval() |
boolean |
isGlobal() |
boolean |
isIgnoreCase() |
boolean |
isUTF8() |
java.lang.String |
toString() |
public static final int FAIL
public static final int SUCCESS
public Regexp(StringValue rawRegexp)
protected void init() throws IllegalRegexpException
IllegalRegexpException
public StringValue getRawRegexp()
public StringValue getPattern()
public boolean isUTF8()
public boolean isEval()
public IllegalRegexpException getException()
public StringValue convertSubject(Env env, StringValue subject)
public StringValue convertResult(Env env, StringValue result)
public StringValue getGroupName(int i)
public boolean isGlobal()
public boolean isIgnoreCase()
public java.lang.String toString()
toString
in class java.lang.Object