> 
> while (<>){
> 
>    s/([-a-z ]+:)\s+(.+)/sprintf("%-20s",$1) . "$2"/ie;
>    print;
> }
> 

So the first group is all up to the colon, then the next group starts at char 
20? Ten the flags i & e

Thanks a ton!! I have had to convert lots of CSS and this makes it so much 
cleaner. 

Cheers.Bo 

Squeezed out from my toothpaste tube

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to