Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringMatchKMP ¶
StringMatchKMP is an implementation of https://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm NOTE: only returns the index of the first occurrence. If not found, returns -1. WARNING: only works on ascii characters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.