P {\displaystyle P} is then shifted relative to T {\displaystyle T} according to the rules of the Boyer–Moore algorithm, and the process repeats until the end of T {\displaystyle T} has been reached.
P {\displaystyle P} se onda pomera do T {\displaystyle T} u skladu sa pravilima Bojer-Murvog algoritma, i proces se ponavlja dok se ne dođe do kraja T {\displaystyle T} .