Alt

Alternative of Patterns in ALTS.

Constructors

this
this(Patt[] subs_)
Undocumented in source.
this
this(Args subs_)
Undocumented in source.

Members

Functions

atIx
size_t atIx(string haystack, size_t soff, size_t alt_hix)
Undocumented in source. Be warned that the author may not have intended to support it.
atU
size_t atU(ubyte[] haystack, size_t soff, size_t alt_hix)

Get Length of hit at index soff in haystack or size_t.max if none.

atU
size_t atU(ubyte[] haystack, size_t soff)
Undocumented in source. Be warned that the author may not have intended to support it.
findRawAt
const(ubyte[]) findRawAt(ubyte[] haystack, size_t soff, Patt[] enders)

Find this in haystack at Offset soff.

opOpAssign
void opOpAssign(Patt sub)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

alts
inout(Patt[]) alts [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isConstant
bool isConstant [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isFixed
bool isFixed [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
maxLength
size_t maxLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
minLength
size_t minLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SPatt

_subs
Patt[] _subs;
Undocumented in source.

Meta