fixed Regexp::Grammars warning that appeared in v5.16
fixed case folding in v5.16