Boyer-Moore string search: Difference between revisions

(→‎{{header|J}}: full boyer-moore algorithm)
Line 106:
startPos=. 0
R=. |:>./\_1,(i.@# ([`]`((256#_1)"0))}&> 3&u:) x
L=.{{ (-~ nx * *) Z&|. x
j=.I.*y
j ((#y)-y{~j)} _1#~#y }} Z&.|. x
F=. >./\.(*]=#-i.@#) Z x
k=. mx
6,962

edits