fails(regexp):String#gsub with pattern and block sets $~ for access from the block
fails(regexp):String#gsub with pattern and block restores $~ after leaving the block
