[ruby-core:118245] [Ruby master Misc#20519] Porting regexp to pure ruby?