Hacker News new | ask | show | jobs
by asicsp 1601 days ago
>Ruby even supports Perl regular expressions

No, Ruby Regexp is based on the https://github.com/k-takata/Onigmo library. There are plenty of differences compared to Perl, for example `^` and `$` anchors always match start/end of lines without needing a flag, subexpression syntax uses `\g` instead of `(?N)` and so on.