Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-17-2016, 08:00 AM   #1
Vortex
Groupie
Vortex began at the beginning.
 
Vortex's Avatar
 
Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
Regex to find small letter followed by capital?

I'm trying to use a regex in the Advanced Search to find any lower case letters in the titles that are immediately followed by a capital, to find titles like "AnUnknownBook"

I thought this would work: title:"~(.*[a-z][A-Z])" but it's not behaving case sensitive. Can anyone help me out? Thanks.
Vortex is offline   Reply With Quote
Old 03-17-2016, 05:45 PM   #2
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
REGEX for "Camelback" Words

Quote:
Originally Posted by Vortex View Post
I'm trying to use a regex in the Advanced Search to find any lower case letters in the titles that are immediately followed by a capital, to find titles like "AnUnknownBook"

I thought this would work: title:"~(.*[a-z][A-Z])" but it's not behaving case sensitive. Can anyone help me out? Thanks.
@Vortex:

The MCS (Multi-Column Search) plug-in works fine. See the attached example. Just be sure to specify that re.IGNORECASE should not be used.

DaltonST
Attached Thumbnails
Click image for larger version

Name:	mcs_camelback_search_example.jpg
Views:	228
Size:	289.5 KB
ID:	147163  
DaltonST is offline   Reply With Quote
Advert
Old 03-18-2016, 06:16 AM   #3
Vortex
Groupie
Vortex began at the beginning.
 
Vortex's Avatar
 
Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
Thanks Dalton, I hadn't seen your new search plugin before, it did the job. Looks like a very powerful tool, just hope I can learn how to get the most out of it.
Vortex is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Nicknames - capital vs. small letters bordovy Lounge 41 07-27-2015 07:27 PM
Regex problem: s&r adding space between emdash and first letter... Witkacy Sigil 1 11-07-2014 03:35 PM
regex cannot find to replace eschwartz Editor 11 02-03-2014 11:00 PM
RegEx find and replace iblesq Sigil 1 01-10-2011 09:26 PM
Help With Capital Letter Going Astray Marcy Calibre 3 08-10-2010 11:38 AM


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


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