If you want the indices of a match, take a look at @+ and @- in perlvar.
In reply to Re: Find the boundaries of a substring in a string
by Corion
in thread Find the boundaries of a substring in a string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |