🙂
I’m trying to sub foo to bar, but only if it’s not prepended with ie. /. So…
foobar should change to barbar, but /foobar not.
I’ve tried to add [^/] at beginning of my re, but that doesn’t work if foo is at beginning of string.
I hate regular expressions! 😛
Use a negative lookbehind assertion.