View Single Post
Old 06-10-2012, 06:44 PM   #9
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DiapDealer View Post
Find: (?<=\b\p{Lu})([^\s]+)(?=[^<>]*</h2>)
Replace: \L\1\E
I tested the above RE with both the latest Sigil Version and the Beta and it didn't find:

Code:
<h2>AARON A. AARONSON</h2>
Far be it from me to doubt your expertise in this matter, but are you 100% sure that the Sigil PCRE engine supports the \p(Lu) metacharacter? According to PCRE man pages, support for \P, \p, and \X requires a special compile option and \X doesn't seem to work either.
Doitsu is offline   Reply With Quote