View Single Post
Old 06-06-2012, 03:56 AM   #7
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,737
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by pdurrant View Post
But that will only fix the font size, of course. Since the ALL CAPS is hard coded, there's no way to change that (without errors) without changing the text itself.
Since the current Sigil version supports PCRE, it'd would be possible to use a \L backreference to change the all caps text to lower-case characters.
For example, the following regular search and replace expressions would change all caps text to lower case text:

Search: <span class="calibre12 italic">(.*?)</span>
Replace: <span class="italic">\L\1</span>
Doitsu is offline   Reply With Quote