Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2011, 03:10 AM   #1
QuantumBeep
Junior Member
QuantumBeep began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: iPod Touch
Strange behavior with advanced catalog search (regex)

Consider the following title search:

^[\W0-9\s]+

I'd expect that to find all books whose titles begin with non-alphanumerics, numerals, and whitespace.

And so it does.

It also finds all books whose titles begin with "w" or "s". That's a surprise.
Any thoughts?
QuantumBeep is offline   Reply With Quote
Old 02-21-2011, 11:06 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,620
Karma: 4998447
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
title:~^[\W0-9\s]+

doesn't find book title starting with w or s for me.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange library behavior jlmwrite Nook Developer's Corner 9 01-23-2011 01:46 PM
strange behavior zeroh Nook Color & Nook Tablet 3 12-09-2010 11:14 AM
strange behavior valb2953 Calibre 1 11-22-2010 01:12 PM
DR800 Strange flipbar behavior penartur iRex 8 08-05-2010 09:17 PM
Strange behavior under the sunlight italianReader Onyx Boox 7 08-04-2010 03:44 AM


All times are GMT -4. The time now is 05:05 PM.


MobileRead.com is a privately owned, operated and funded community.