View Single Post
Old 12-23-2011, 01:57 PM   #5
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by theducks View Post
Margin can take many forms.
margin, margin-top, margin-bottom...

(not tested)
Code:
margin([\-.+])\:\s*\d+
what this is intended to find is all variants of margin followed by a colon followed by digits
I stop there and leave the units alone 0em is valid , so KISS

you might need to do tricks for decimal points (\.* )
Actually 0 should not have any units.
DaleDe is offline   Reply With Quote