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