mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 04:24:23 +00:00
(https://github.com/ruby/strscan/pull/156) StringScanner holds the string being scanned, and a regex for methods like `match?`. Triggering the write barrier for those allows us to mark this as WB protected. https://github.com/ruby/strscan/commit/32fec70407