Quote:
Originally Posted by Jellby
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