View Single Post
Old 01-28-2019, 11:08 AM   #5
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 451
Karma: 3886916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Kobo Forma
It does work

I went to replicate the problem for a bug report, and had a thought along the way. Instead of just using space characters in the search string, I tried \s+, and it worked beautifully.

Code:
title\s+/\s+\d+
\d+\s+/\s+author
is what was needed.

I noticed in the book text that there were a LOT of extra spaces coming across, sometimes inside words, sometimes between words. So I guess that is in the pdf text layer.
retiredbiker is offline   Reply With Quote