Conceptually registered tags are the same as tags handled in
commonTagsHandler
in the following style
sub commonTagsHandler {
$_[0] =~ s/%MYTAG({.*)}?%/&myTag()/geo;
}
There are the following important differences:
- registered tags are limited to the syntax percent followed by alphanumberics followed by percent
- registered tags cannot return another tag (surrounding percent characters will be stripped before returning)
This difference should be documented.
The reason for this difference is performance, as discussed in Item3164.
Documented.
CC
4.1.0 released
KJL