$fastHtmlTag
$fastHtmlTag :\DevOwl\FastHtmlTag\FastHtmlTag
The current `FastHtmlTag` instance doing the replace.
Find HTML tags by tag and attribute name.
$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
setFastHtmlTag(\DevOwl\FastHtmlTag\FastHtmlTag $fastHtmlTag)
Setter.
\DevOwl\FastHtmlTag\FastHtmlTag | $fastHtmlTag |
__construct(array<mixed,string> $tags,array<mixed,string> $attributes)
C'tor.
array<mixed,string> | $tags | |
array<mixed,string> | $attributes | If you rely on the regular expression match of the link attribute it is highly recommend
to pass only one attribute and create multiple instances of |
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 |
applyCallbacks(\DevOwl\FastHtmlTag\finder\match\AbstractMatch|false $match)
Apply registered callbacks to our match.
\DevOwl\FastHtmlTag\finder\match\AbstractMatch|false | $match |