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