View Single Post
Old 12-22-2010, 08:37 AM   #10
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Jellby View Post
You actually don't need the +
Searching for a single lowercase letter (regardless of previous characters) followed by a single uppercase letter is enough.
Yeah, my initial response didn't have it and then I edited it straight away to include it. Why? (a) to minimise changes to hopefully help them understand the edits I made and (b) just in case the OP had some scenario which is why they put a + there in the first place. Like you I cannot think of a situation where it is needed but some books like fantasy have all sorts of weird and wonderful casing for character names etc so maybe it met a requirement.

EDIT: Nope, still can't think of a scenario for my reason (b) where ([a-z]+)([A-Z]) makes a difference compared to ([a-z])([A-Z]) not that it does any harm either. Should have left my post alone, thanks Jellby.

Last edited by kiwidude; 12-22-2010 at 08:46 AM.
kiwidude is offline   Reply With Quote