Picking apart strings

jay graves jaywgraves at gmail.com
Tue Jun 3 21:58:40 CEST 2008


On Jun 3, 1:44 pm, tmallen <thomasmal... at gmail.com> wrote:
> Is there a way to pick apart this text without resorting to regular
> expressions?
>
> p {
>     color: black;
>
> }
>
> p -> element
> color -> property
> black -> value

http://code.google.com/p/cssutils/




More information about the Python-list mailing list