com.caucho.quercus.lib.regexp
Class Regexp

java.lang.Object
  extended by com.caucho.quercus.lib.regexp.Regexp
Direct Known Subclasses:
Ereg

public class Regexp
extends java.lang.Object


Field Summary
static int FAIL
           
static int SUCCESS
           
 
Constructor Summary
Regexp(StringValue rawRegexp)
           
 
Method Summary
 StringValue convertResult(Env env, StringValue result)
           
 StringValue convertSubject(Env env, StringValue subject)
           
 StringValue getGroupName(int i)
           
 StringValue getPattern()
           
 StringValue getRawRegexp()
           
protected  void init()
           
 boolean isEval()
           
 boolean isGlobal()
           
 boolean isIgnoreCase()
           
 boolean isUTF8()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FAIL

public static final int FAIL
See Also:
Constant Field Values

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values
Constructor Detail

Regexp

public Regexp(StringValue rawRegexp)
       throws IllegalRegexpException
Throws:
IllegalRegexpException
Method Detail

init

protected void init()

getRawRegexp

public StringValue getRawRegexp()

getPattern

public StringValue getPattern()

isUTF8

public boolean isUTF8()

isEval

public boolean isEval()

convertSubject

public StringValue convertSubject(Env env,
                                  StringValue subject)

convertResult

public StringValue convertResult(Env env,
                                 StringValue result)

getGroupName

public StringValue getGroupName(int i)

isGlobal

public boolean isGlobal()

isIgnoreCase

public boolean isIgnoreCase()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object