in other words all symbols of a line before the found result$a = 'aa ab c c'; $a=~m/b/; now $` contains 'aa a' $& contains 'b' $' contains ' c c'
In reply to Re^3: longest common substring (with needed tweaks)
by Lennotoecom
in thread longest common substring (with needed tweaks)
by R56
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |