diff options
Diffstat (limited to 're.c')
-rw-r--r-- | re.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2967,6 +2967,7 @@ rb_reg_compile(VALUE str, int options, const char *sourcefile, int sourceline) return Qnil; } FL_SET(re, REG_LITERAL); + rb_obj_freeze(re); return re; } |