Slide 9
Slide 9 text
RE2はなぜ先読みに対応していないのか?
理由)
先読みに対応すると検索が遅くなる
先読みは指数関数的な実行時間を要するため
RE2 doesn't support lookahead, positive or negative, since it would requires an
algorithm with worst-case exponential running time.
https://groups.google.com/g/re2j-discuss/c/02Wzz-v2Flo
9