abstract class AbstractRegexGambit implements GambitInterface
Methods
bool
apply(SearchState $search, string $bit)
Apply conditions to the searcher for a bit of the search string.
Details
at
line 17
protected
getGambitPattern()
The regex pattern to match the bit against.
at
line 24
bool
apply(SearchState $search, string $bit)
Apply conditions to the searcher for a bit of the search string.
at
line 41
protected array
match(string $bit)
Match the bit against this gambit.