Fixes regression from #20860
```ruby 10.times { p /#{FOO}/.object_id } 10.times { p FOO_RE.object_id } ```
The constraint was applied prior to decoding, and rejected anything containing the '%' character, which would be used for anything with non-ASCII unicode characters.