Knuth-Morris-Pratt string search: Difference between revisions
Content added Content deleted
(Created page with " [https://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm < About Knuth-Morris-Pratt String Search Algorithm >] =={{header|Emacs Lisp}}== <lang lisp> (def...") |
mNo edit summary |
||
Line 35: | Line 35: | ||
(defun kmp_search (pattern text) |
(defun kmp_search (pattern text) |
||
"Pattern search with KMP algorithm." |
|||
(let ((dfa (kmp_compile_pattern pattern))) |
(let ((dfa (kmp_compile_pattern pattern))) |
||