It seems we allow and ignore everything between the operator and the quotes of value. ```js > require('postcss-selector-parser')(x => console.log(x.nodes[0].nodes[0])).processSync("[class=XXX'@{foo}-']") <ref *1> Attribute { source: { start: { line: 1, column: 1 }, end: { line: 1, column: 20 } }, sourceIndex: 0, _attribute: 'class', operator: '=', _value: '@{foo}-', _quoteMark: "'", raws: { value: "'@{foo}-'" }, spaces: { before: '', after: '' }, type: 'attribute', _constructed: true, parent: Selector { source: { start: [Object], end: [Object] }, sourceIndex: 0, spaces: { before: '', after: '' }, nodes: [ [Circular *1] ], type: 'selector', parent: Root { source: [Object], spaces: [Object], nodes: [Array], type: 'root', _error: [Function (anonymous)] } } } ``` There is no information about `XXX` between `=` and `'`. Found this when trying to support a valid selector in LESS `[class=~'@{foo}-']` ``` @foo: x; [class=~'@{foo}-'] { color: red; } ``` [LESS playground](https://lesscss.org/less-preview/#eyJjb2RlIjoiQGZvbzogeDtcblxuW2NsYXNzPX4nQHtmb299LSddIHtcbmNvbG9yOiByZWQ7XG4gIFxufSIsImFjdGl2ZVZlcnNpb24iOiI0LjkuMSIsInN0cmljdE1hdGgiOmZhbHNlLCJtYXRoIjoicGFyZW5zLWRpdmlzaW9uIiwic3RyaWN0VW5pdHMiOmZhbHNlLCJ1bml0TW9kZSI6InByZXNlcnZlIiwiY29sbGFwc2VOZXN0aW5nIjoiZmFsc2UifQ==) This syntax seems not allowed in LESS 5, so I'm fine to reject it when parsing.
Activity