CssXPath-StarSelector (#4506)

* CssXPath-StarSelector
Add support for selectors such as `a[href*="example"]`
https://developer.mozilla.org/docs/Web/CSS/Attribute_selectors
Translated to `.//a[contains(@href,"example")]`

Upstream PR: https://github.com/PhpGt/CssXPath/pull/181

* Upstream merged
This commit is contained in:
Alexandre Alapetite
2022-08-18 11:14:40 +02:00
committed by GitHub
parent ea0d924985
commit 2acf3a4dd8
6 changed files with 29 additions and 16 deletions

View File

@@ -3,4 +3,4 @@ namespace Gt\CssXPath;
use RuntimeException;
class CssXPathException extends RuntimeException {}
class CssXPathException extends RuntimeException {}