tallforasmurf / PPQT

A post-processing tool for PGDP written in Python, PyQt4, and Qt
GNU General Public License v3.0
4 stars 2 forks source link

unbalancedRE not complete #100

Closed bibimbop closed 11 years ago

bibimbop commented 11 years ago

unbalancedRE has the RE to detect unbalanced <i>, <b> and <sc>, but not for </i>, </b> and </sc>.

(edited to add back-ticks)

tallforasmurf commented 11 years ago

Oogh. \<i>[^<]+<(?!/i) finds <i> followed by < that is not </i -- ok. But how to find </i> that is not preceded by i> ?? Something like [^i]>[^<]+</i I suppose...

tallforasmurf commented 11 years ago

commit d9729ee