diff options
| author | Kevin Newton <kddnewton@gmail.com> | 2024-02-13 17:45:27 -0500 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-02-14 01:01:37 +0000 |
| commit | 2fa051f627172674b342da26ebe1e671a5e449ec (patch) | |
| tree | 9936bd9f9e6ce67025fa9806736b2186d915b45b /include/ruby/internal/encoding | |
| parent | dc5191d6952246be6717a76c193abe1bc55128b7 (diff) | |
[ruby/prism] Validate multibyte characters in strings
Check that multibyte characters are valid using pm_strpbrk. We need
to add a couple of codepaths to ensure all encodings are covered.
Importantly this doesn't check regular expressions, because
apparently you're allowed to have invalid multibyte characters
inside regular expression comment groups/extended mode.
https://github.com/ruby/prism/commit/2857d3e1b5
Diffstat (limited to 'include/ruby/internal/encoding')
0 files changed, 0 insertions, 0 deletions
