i fucking hate google
This commit is contained in:
parent
b492ef2329
commit
24e9548297
6 changed files with 3764 additions and 2623 deletions
|
@ -240,7 +240,17 @@ class fuckhtml{
|
|||
public function getElementsByFuzzyAttributeValue(string $name, string $value, $collection = null){
|
||||
|
||||
$elems = $this->getElementsByAttributeName($name, $collection);
|
||||
$value = explode(" ", $value);
|
||||
$value =
|
||||
explode(
|
||||
" ",
|
||||
trim(
|
||||
preg_replace(
|
||||
'/ +/',
|
||||
" ",
|
||||
$value
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$return = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue