We present an algorithm for the CREW PRAM to find all occurrences of a
pattern of size m in a text of size n. For a fixed alphabet and m = O
(log2 n), the algorithm runs in O(log m) time on O(n/log m) processors
. Under these restrictions, it is optimal and improves on the time com
plexity of previously known string-matching algorithms for the CREW PR
AM.