View Single Post
Old 02-23-2014, 03:12 PM   #16
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 3,720
Karma: 1759970
Join Date: Sep 2010
Device: none
Quote:
Originally Posted by Jellby View Post
Hmm... I can't see why, but I have no Sigil to test.
Ah, well, I sort of see why... Isn't there an option for "greedy" matching?



Yes, that's fine, and that should be catched by my previous suggestion (with multiline enabled), but this is not:

line-height:1.3
line-height:1.2em;

I understood that you were testing with that.
i am testing with what is in post #3
that is a bit false in that you only get one line-height per class definition but I figured it would do for testing regex syntax candidates
a genuine real book does not usually mix 1.2em; with 1.2; - it uses one or the other e.g.
.PHeading {
display: block;
font-size: 1.2em;
font-weight: bold;
line-height: 1.2;
text-align: center;
text-indent: 0;
margin: 1em
}
.PHeading1 {
display: block;
font-size: 1.5em;
font-weight: bold;
line-height: 1.2;
text-align: center;
text-indent: 0;
margin: 1em
}

i do not know exactly what dialect of regex is used in sigil, sorry
cybmole is offline   Reply With Quote