[ruby-core:114957] [Ruby master Misc#19912] [Small potential for slight improvement in regards to trailing / that were omitted in a regex]