while (/.../g) { print("Matched ", substr($var, $-[0], $+[0] - $-[0]), " at pos $-[0 +]\n"); }
In reply to Re: Grep reutrn the occurance of a pattern
by ikegami
in thread Grep reutrn the occurance of a pattern
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |