Implement qr//->sub("(foo)", '\1bar') # => foobar

Test for flags, including regcomplit
