Lit

Literal Pattern with Cached Binary Byte Histogram.

Alias This

_bytes

Members

Functions

singlesHist
SinglesHist singlesHist()

Get (Cached) (Binary) Histogram over single elements contained in this Lit.

Inherited Members

From Patt

matchU
auto ref matchU(ubyte[] haystack, size_t soff)

Match this with haystack at Offset soff.

findAt
const(ubyte[]) findAt(string haystack, size_t soff)

Find this in String haystack at Offset soff.

findRawAt
const(ubyte[]) findRawAt(ubyte[] haystack, size_t soff, Patt[] enders)

Find this in Raw Bytes haystack at Offset soff.

mandatories
Lit[] mandatories()

Get All Literals that must match a given source X in order for this to match X somewhere.

optionals
Lit[] optionals()

Get Optional Literals that may match a given source X if this matches X somewhere.

Meta