Quote:
Originally Posted by Hitch
Oh, GOD. I feel a major beta-testing episode coming on....
Hitch
|
Nah, it will not be that bad... I hope. I have quite a lot of demo documents which I want to process correctly. I am not even close to beta testing at the moment, it is pre-alpha.
Quote:
Originally Posted by DiapDealer
It's been a long time since I inspired anybody to do anything.
To be honest, I don't have the slightest problem using regex inside another scripting (or full-blown programming) language where some logic can be applied to correctly handle the opening and closing of tags (including any potential nesting issues) it's too handy NOT to make use of. And for the quick stuff that I do within Sigil, Regex is my bestest buddy. But there are times when I ask too much of him: unforeseen scenarios with nested spans and divs are usually involved when that happens.
|
I doubt that you do not inspire anybody, your post are doing that.
This was just prickling my mind. I personally am not part of the flamewar. I do understand the points of both and RegEx is too handy in some occasions not to use it. In this case it prickled me to investigate another route and it looks promising so far, although the documentation is really scarce.