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 authored and GitHub committed 2022-08-18 11:14:40 +02:00
1 parent ea0d924985
commit 2acf3a4dd8
6 files changed
+29 -16

No files matched your search

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