I'm still new to lookahead and behind but it seems to me that rather than using a positive lookbehind for a negative pattern, you should just use a negative lookbehind?
The other problem is you're not saying what to look for that isn't preceeded by \\
I found this to be pretty good, I had to refer to it and play with some code and repeat several times before I understood, and I still haven't used them enough to say I'm comfortable with look arounds.
shoebappa wrote:I'm still new to lookahead and behind but it seems to me that rather than using a positive lookbehind for a negative pattern, you should just use a negative lookbehind?
I've narrowed it down to the negated class as well and found
Word, didn't know that... But had seen the term zero width assertions, just never knew how they'd be useful. I guess it works like a place holder, wouldn't be useful for matching something since the match is empty.