This is currently only patched in the WebKit master branch (not in any version shipped in macOS/iOS) and works with the latest version of Safari (macOS and iOS, although shellcode loading is not supported on iOS).
YES, iOS 12.1.1 IS SUPPORTED!
Please don’t do evil stuff with this.
And if you’re a normal user, this will be useless for you.

https://github.com/LinusHenze/WebKit-RegEx-Exploit