View Single Post
Old 02-15-2012, 09:15 AM   #15
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by chaley View Post
Code:
title:"~^a "
The ~ means the search uses a regular expression. The regexp begins with the anchor ^, which indicates that whatever follows it must be at the beginning of the phrase (the title in this case). The characters "a " (letter 'a' then space) are what must be at the beginning. It is quoted so that the space is considered part of the regexp.

For completeness, this search looks for a leading "a" or "an" followed by a space.
Code:
title:"~^a(n | )"
The following does the same thing.
Code:
title:"~^an? "
thanks - the 1st case finds 37 out of 1011 books

I also had a quick look for a preferences tweak that would change how those 37 titles are sorted, ( without changing how "The" cases are handled) but could not immediately find one.
cybmole is offline   Reply With Quote