Home Manual Reference Source

Function

Static Public Summary
public

* mock(string: StringSlice, patterns: Iterable<StringSlice>): IterableIterator<Hit>

A brute-force string searching algorithm leveraging String#indexOf.

Static Public

public * mock(string: StringSlice, patterns: Iterable<StringSlice>): IterableIterator<Hit> source

A brute-force string searching algorithm leveraging String#indexOf.

Params:

NameTypeAttributeDescription
string StringSlice
patterns Iterable<StringSlice>

Return:

IterableIterator<Hit>