Thread: Remove Footer
View Single Post
Old 11-19-2009, 04:28 PM   #9
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
in the input-section with debug it shows up like this:
Code:
11&nbsp;&nbsp;<br>
the regexp i'm trying to use to remove the page numbers is
Code:
(\d+\xA0*<br>)
the exact same worked with the older Version, but it won't today. Have there been any changes from that older Version, or is something in the regexp wrong?
The regex matches later in the conversion pipeline in the newer versions. 0.6.22 sounds about right when the change was made. Entities such as &nbsp; are now converted to the character they represent before the regex is applied.
user_none is offline   Reply With Quote