The ! are used as alternative delimiters, because you use / within the regular expression. This makes it easy to avoid the escaping of slashes. Instead of \/, I now can write / as it will not be recognized as the regex delimiter anymore.
perlop has the section on Regexp Quote-like Operators which explains how this works.
In reply to Re^3: Match/Replace/Interpolate
by Corion
in thread Match/Replace/Interpolate
by toadi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |