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