static RegexpState |
RegexpState.create(Env env,
Regexp regexp) |
static RegexpState |
RegexpState.create(Env env,
Regexp regexp,
StringValue subject) |
static Value |
RegexpModule.preg_grep(Env env,
Regexp regexp,
ArrayValue input,
int flag)
Returns an array of all the values that matched the given pattern if the
flag no flag is passed.
|
static Value |
RegexpModule.preg_match_all(Env env,
Regexp regexp,
StringValue subject,
Value matchRef,
int flags,
int offset)
Returns the number of full pattern matches or FALSE on error.
|
static Value |
RegexpModule.preg_match(Env env,
Regexp regexp,
StringValue subject,
Value matchRef,
int flags,
int offset) |
static Value |
RegexpModule.preg_replace(Env env,
Regexp[] regexpList,
Value replacement,
Value subject,
long limit,
Value count)
Loops through subject if subject is array of strings
XXX: need to be able to take in Regexp[] for compiled code
|
static Value |
RegexpModule.preg_split(Env env,
Regexp regexp,
StringValue string,
long limit,
int flags)
Returns array of substrings or
of arrays ([0] => substring [1] => offset) if
PREG_SPLIT_OFFSET_CAPTURE is set
|