mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #4512 from lopopolo/patch-1
Support parsing a Regexp literal with 'o' option
This commit is contained in:
@@ -4526,6 +4526,7 @@ parse_string(parser_state *p)
|
||||
case 'm': f |= 4; break;
|
||||
case 'u': f |= 16; break;
|
||||
case 'n': f |= 32; break;
|
||||
case 'o': break;
|
||||
default: tokadd(p, re_opt); break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user