Rct567/DomQuery

Allow 'dash' in transformAttrSelector

bogdan-d opened this issue · 0 comments

The transformAttrSelector regex should be modified to this (https://regex101.com/r/d6cM1X/1) to allow the dash character in the attribute name. Otherwise this type of selector does not work:

$doc->find('meta[http-equiv^="Content"]')