View Single Post
Old 06-06-2015, 01:55 PM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,455
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by loviedovie View Post
Btw what does "\1" stand for in theducks's solution"
Take a look at All about using regular expressions in calibre. Groups (parenthesized search expressions) and group references are explained there.

And to answer your question: the \1 means the contents of the first parenthesized expression in the search pattern, which in this case is everything.
chaley is offline   Reply With Quote