the lookbehind syntax is as follows:
0-width positive lookbehind assertion: (?<=pattern)
0-width negative lookbehind assertion: (?<!pattern)
however, i think what you want in this case is actually a negative lookahead assertion like the following:
m!^<TR bgcolor=.*>(?!(?:re:\s*)+)([^<]*)</a>!i
also, the 'o' modifier is not very useful in your examples, since there are no variables in the regexp to interpolate.
In reply to Re: lookbehind
by mdillon
in thread lookbehind
by httptech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |