diff options
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2753,7 +2753,7 @@ static VALUE reg_operand(VALUE s, int check) { if (SYMBOL_P(s)) { - return rb_sym_to_s(s); + return rb_sym2str(s); } else { return (check ? rb_str_to_str : rb_check_string_type)(s); |