View Single Post
Old 02-23-2014, 07:00 AM   #6
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
The semicolon is only optional if it's the final element in a style. Maybe this?

\s*line-height:\s*1(\.[0123]\d*)?(em)?\s*[;}]

...
i know about the final element rule, but my test case examples are all from actual book syntax

your new code still skips this case
line-height:1.3
cybmole is offline   Reply With Quote