python implementation

This commit is contained in:
ndparker 2014-02-11 10:35:56 +01:00
parent 14cab58df2
commit 4eea134f07
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Changes with version
*) Added support for the following grouping @-rules:
@supports, @document, @keyframes
*) Added support for Python 3.4 and Jython 2.7

View File

@ -190,7 +190,12 @@ def _make_cssmin(python_only=False):
r'%(uri_nl_strings)s'
r'|%(uri)s'
r')%(spacechar)s*\)'
r'|(@[mM][eE][dD][iI][aA])(?!%(nmchar)s)'
r'|(@(?:'
r'[mM][eE][dD][iI][aA]'
r'|[sS][uU][pP][pP][oO][rR][tT][sS]'
r'|[kK][eE][yY][fF][rR][aA][mM][eE][sS]'
r'|[dD][oO][cC][uU][mM][eE][nN][tT]'
r'))(?!%(nmchar)s)'
r'|(%(ie7hack)s)(%(space)s*)'
r'|(:[fF][iI][rR][sS][tT]-[lL]'
r'(?:[iI][nN][eE]|[eE][tT][tT][eE][rR]))'