If I am right the first thing the regex engine does, is replacing [LINKS] tags, right?
If so I encountered a strange thing; I have a case where a part of a link tag stays in the posting.
I worked around it like this:
- Replace links tag with custom tag "links" (no joke!)
- Erase those tags with replacements: (?i)\[\/?links\]\n
- Result is as expected, finally
Quite funny, seems to be really a bug, I have poked around in my replacements for half a day now - there is nothing that should cause this. I can post / PM further details if you want it.
This will be very hard to reproduce I guess, but I'll help as much as I can.
Wurstmu