I would like to extract the first comment block of a CSS file which is like this :
/*
author : name
uri : link
etc
*/
without extracting the other comments
/* header */
/* footer */
So I tried this :
print re.findall(r'\/\*(.*)\*\/', cssText )
this gave me all the other comments except the block I need. so I changed it into this, to be more precise :
print re.findall(r'\/\*\n(.*)^\*\/', cssText )
and the result was nothing :
[]
Do you have suggestions? Thanks :-)