We currently do not JIT code for patterns like /(a)*?(b)*?/. Instead we handle those in the YARR interpreter which is much slower.
<rdar://problem/36077587>
Created attachment 347983 [details] Patch
Committed r235322: <https://trac.webkit.org/changeset/235322>