https://hgpu.org/?p=16918
Parallelizing Exact and Approximate String Matching via Inclusive Scan on a GPU