$regexp
$regexp :
Find HTML tags with a potential `style` attribute.
$fastHtmlTag :\DevOwl\FastHtmlTag\FastHtmlTag
The current `FastHtmlTag` instance doing the replace.
createMatch(array $m): \DevOwl\FastHtmlTag\finder\match\AbstractMatch|false
See `AbstractRegexFinder`.
array | $m |
Returns false
if no match got found and we cannot process it
createRegexp(array<mixed,string> $searchTags,array<mixed,string> $searchAttributes)
Create regular expression to catch multiple tags and attributes.
Available matches: $match[0] => Full string $match[1] => All content before the link attribute $match[2] => Used tag $match[3] => Used link attribute $match[4] => Used quote for link attribute $match[5] => Link $match[6] => All content after the link
array<mixed,string> | $searchTags | |
array<mixed,string> | $searchAttributes |
setFastHtmlTag(\DevOwl\FastHtmlTag\FastHtmlTag $fastHtmlTag)
Setter.
\DevOwl\FastHtmlTag\FastHtmlTag | $fastHtmlTag |
applyCallbacks(\DevOwl\FastHtmlTag\finder\match\AbstractMatch|false $match)
Apply registered callbacks to our match.
\DevOwl\FastHtmlTag\finder\match\AbstractMatch|false | $match |