Support flags of Regexp literal.