Thread: Remove Footer
View Single Post
Old 11-23-2009, 07:33 PM   #16
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,487
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Quote:
Originally Posted by matthias View Post
what seems a little strange to me, since neither in the input-, nor in the parsed-folder it is like this.
To me it looks like the regex is applyed somewhere in between converting the input to the parsed, but for sure before closing the tags (what in my eyes isn't very user-friendly or at least confusing, since noone seems to know it, and its neighter shown in the input nor the parsed-folder)
Honestly, it's gone though so many revisions I've pretty much lost track of it. For some reason I have the feeling it's matching input after all of the internal regexes are applied. I'll get it cleaned up and working properly soonish.

Quote:
Originally Posted by matthias View Post
Also, i think the preconfigured regex (immediately after the installation) should be adjusted to the new practice, because i don't think any footer or header-removement will be done with the standard-regex anymore.
Another change I have on my todo list. I plan on removing the option to have it applied. The default will be removed and it will automatically apply the regex if one is present.

Eventually the new PDF input engine will be complete and removing the header and footer will be automatic. This regex based system will be renamed to "remove content".
user_none is offline   Reply With Quote