* @param {String} css
(css)
| 343 | * @param {String} css |
| 344 | */ |
| 345 | function extractQuery(css) { |
| 346 | var match, smatch, attrs, attrMatch; |
| 347 | |
| 348 | css = css.replace(/'/g, '"'); |
| 349 | while (null !== (match = regex.exec(css))) { |
| 350 | smatch = match[1] + match[3]; |
| 351 | attrs = match[2]; |
| 352 | |
| 353 | while (null !== (attrMatch = attrRegex.exec(attrs))) { |
| 354 | queueQuery(smatch, attrMatch[1], attrMatch[2], attrMatch[3]); |
| 355 | } |
| 356 | } |
| 357 | } |
| 358 | |
| 359 | /** |
| 360 | * @param {CssRule[]|String} rules |
no test coverage detected