Hacker News Digest

Тег: #ruby

Постов: 1

The /o in Ruby regex stands for "oh the humanity " (jpcamara.com)

by todsacerdoti • 02 августа 2025 г. в 14:37 • 186 points

ОригиналHN

#ruby#regex

Комментарии (42)

This is one of the features that Ruby cribbed directly from Perl. The Ruby documentation seems really bad, in particular “interpolation mode” is grievously misleading.Perl’s documentation is far more clear about the consequences:(https://perldoc.perl.org/perlop#Regexp-Quote-Like-