http://www.perlmonks.org?node_id=516695


in reply to internal engine of regular expression

Heh, as soon as you find some documentation on how Perls regex engine works be sure to send it to the perl5porters mailing list. I believe there is certain level of consensus that the regex engine implementation is one of the most difficult and minimally documented part of Perl.

---
$world=~s/war/peace/g