public abstract class Matcher
extends org.jcodings.IntHolder
Modifier and Type | Field and Description |
---|---|
protected byte[] |
bytes |
protected org.jcodings.Encoding |
enc |
protected int |
end |
protected int |
msaBegin |
protected int |
msaBestLen |
protected int |
msaBestS |
protected int |
msaEnd |
protected int |
msaOptions |
protected Region |
msaRegion |
protected int |
msaStart |
protected Regex |
regex |
protected int |
str |
Constructor and Description |
---|
Matcher(Regex regex,
byte[] bytes) |
Matcher(Regex regex,
byte[] bytes,
int p,
int end) |
Modifier and Type | Method and Description |
---|---|
int |
getBegin() |
Region |
getEagerRegion() |
int |
getEnd() |
Region |
getRegion() |
int |
match(int at,
int range,
int option) |
protected abstract int |
matchAt(int range,
int sstart,
int sprev) |
protected void |
msaInit(int option,
int start) |
int |
search(int start,
int range,
int option) |
protected abstract void |
stateCheckBuffClear() |
protected abstract void |
stateCheckBuffInit(int strLength,
int offset,
int stateNum) |
protected final Regex regex
protected final org.jcodings.Encoding enc
protected final byte[] bytes
protected final int str
protected final int end
protected int msaStart
protected int msaOptions
protected final Region msaRegion
protected int msaBestLen
protected int msaBestS
protected int msaBegin
protected int msaEnd
public Matcher(Regex regex, byte[] bytes)
public Matcher(Regex regex, byte[] bytes, int p, int end)
protected abstract int matchAt(int range, int sstart, int sprev)
protected abstract void stateCheckBuffInit(int strLength, int offset, int stateNum)
protected abstract void stateCheckBuffClear()
public final Region getRegion()
public final Region getEagerRegion()
public final int getBegin()
public final int getEnd()
protected final void msaInit(int option, int start)
public final int match(int at, int range, int option)
public final int search(int start, int range, int option)
Copyright © 2013. All rights reserved.