Pattern now has 'regex' property.
flags now support 'maybe' '?' mark.