I think I understand why the RE (?s)^.{0,200}$ fails sometimes. The following comment fails with this formula: <div><div style="text-align: justify;">1234567890</div></div> This only has 10 digits and the test case in calibre works fine for this short comment but the actual comment fails to be recognized as less than 200 chars because of the punctuation. Is there any way to get calibre or the RE engine to ignore the punctuation?
|