Look-ahead is used much more frequently than lookbehind, hence the shorter syntax. Perl is quite heavily Huffman coded.
Look-behind is actually almost useless, since variable-length look-behind isn’t supported. It can be approximated using \K
In reply to Re^5: regex to rename last _ with ,
by Grimy
in thread regex to rename last _ with ,
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |