| Modifier and Type | Method and Description |
|---|---|
de.unkrig.lfr.core.Sequence |
concat(de.unkrig.lfr.core.Sequence that) |
boolean |
find(de.unkrig.lfr.core.MatcherImpl matcher,
int start)
Searches for the next occurrence, and, iff it finds one, updates
groups[0] and groups[1],
and returns true. |
String |
get() |
int |
matches(de.unkrig.lfr.core.MatcherImpl matcher,
int offset) |
de.unkrig.lfr.core.Sequence |
reverse() |
void |
set(String s)
Changes the literal string that this sequence represents.
|
String |
toString()
Returns an unambiguous string form of
this sequence; practical for verifying a compiled sequence e.g. |
String |
toStringWithoutNext() |
public String get()
public void set(String s)
public int matches(de.unkrig.lfr.core.MatcherImpl matcher,
int offset)
public boolean find(de.unkrig.lfr.core.MatcherImpl matcher,
int start)
groups[0] and groups[1],
and returns true.public de.unkrig.lfr.core.Sequence reverse()
public de.unkrig.lfr.core.Sequence concat(de.unkrig.lfr.core.Sequence that)
public String toStringWithoutNext()
this sequence, but without the next sequencepublic String toString()
this sequence; practical for verifying a compiled sequence e.g.
for correctness, efficiency, etc. The syntax resembles Java.Copyright © 2017 Arno Unkrig. All rights reserved.