Closed msoucy closed 4 years ago
I got the error to go away by escaping one of the [
in selector.py:
BEFORE:
# Square brackets are attribute tests
# TODO: this doesn't handle ] within a string
| [[] .+? []]
AFTER (escape the 2nd [
):
# Square brackets are attribute tests
# TODO: this doesn't handle ] within a string
| [\[] .+? []]
Python 3.7.2 pyScss==1.3.5
you can also just write
| \[ .+? \]
@Kronuz It is four months later, how ´bout updating the PyPI package?
@Kronuz It is four months later, how ´bout updating the PyPI package?
Ping on this? :)
This is blocking me as well
Added a PR to fix this:
I had to fix this manually. Oh well, thanks for the fix @jmduke
The fix is introduced in the 3.7 release notes, though I wasn't exactly sure which part of that large regex was the problematic area.