summaryrefslogtreecommitdiff
path: root/lib/ruby_vm
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2023-10-24 13:17:18 -0400
committerAaron Patterson <aaron.patterson@gmail.com>2023-10-26 11:11:52 -0700
commita082e560bb3b875dfcce5ff4743a04e76e008d46 (patch)
tree2792062e7e4971bd07bee7bd2813d88a04baae19 /lib/ruby_vm
parent2573d568848f1dc54e6fb4d9ce203d75cc31fc3d (diff)
[PRISM] Implement regex encoding flags
Added the correct encoding to the allocated regex. This required making a new method to set the encoding and pass that to `rb_enc_reg_new` instead of `rb_reg_new`. The former `rb_reg_new` would set the encoding to ASCII8BIT regardless of encoding flag.
Diffstat (limited to 'lib/ruby_vm')
0 files changed, 0 insertions, 0 deletions