summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Kleinschmidt <tim.kleinschmidt@gmail.com>2020-07-16 10:50:05 +0200
committerTim Kleinschmidt <tim.kleinschmidt@gmail.com>2020-07-16 10:50:05 +0200
commit8133519f400e8edf1dfee966cbc7f9f21c9aeb79 (patch)
treed3b215386cdc855747e899f3113031fdec8b445d
parent36e8452b35d14ebdb32e308b219028ce2d8bfea0 (diff)
downloadpyscss-8133519f400e8edf1dfee966cbc7f9f21c9aeb79.tar.gz
Fix FutureWarning
Possible nested set at position 329 Fixes: https://github.com/Kronuz/pyScss/issues/376
-rw-r--r--scss/selector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/selector.py b/scss/selector.py
index 8a6ecdf..c187f01 100644
--- a/scss/selector.py
+++ b/scss/selector.py
@@ -33,7 +33,7 @@ SELECTOR_TOKENIZER = re.compile(r'''
# Square brackets are attribute tests
# TODO: this doesn't handle ] within a string
- | [[] .+? []]
+ | \[ .+? \]
# Dot and pound start class/id selectors. Percent starts a Sass
# extend-target faux selector.