tango.text.Search

Members

Functions

find
FindFruct!(T) find(const(T)[] what)

Returns a lightweight pattern matcher, good for short patterns and/or short to medium length content. Brute-force approach with fast multi-byte comparisons

main
void main()
search
SearchFruct!(T) search(const(T)[] what)

Returns a welterweight pattern matcher, good for long patterns and/or extensive content. Based on the QS algorithm which is a Boyer-Moore variant. Does not allocate memory for the alphabet.

Structs

FindFruct
struct FindFruct(T)

Convenient bundle of lightweight find utilities, without the hassle of IFTI problems. Create one of these using the find() function:

SearchFruct
struct SearchFruct(T)

Convenient bundle of welterweight search utilities, without the hassle of IFTI problems. Create one of these using the search() function:

Variables

x
auto x;
Undocumented in source.

Meta

Since

0.99.9

License

BSD style: $(LICENSE)

Version

May 2009: Initial release