Jump to content

String matching: Difference between revisions

m
Line 203:
property d : (length of needle) - 1
on |λ|(x, i, xs)
ifset mxz to d + i then
if mx z needle = text i thru (d + i) of xsthen
needle = text i thru z of xs
else
false
9,659

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.