On Nov 30, 2007, at 3:31 AM, Hans-Jörg Bibiko wrote:
I only have a tiny question and I didn't find anything in the archive.
name = 'meta.tag.any.html'; begin = '(<)([a-zA-Z0-9:]+)(?=[^>]*></\2>)'; end = '(>(<)/)(\2)(>)'; beginCaptures = { 1 = { name = 'punctuation.definition.tag.html'; }; 2 = { name = 'entity.name.tag.html.$2'; };
or
2 = { name = 'entity.name.tag.html.$self'; };
$2 or $self referring to the actual content of the found regexp group 2 to get:
No, not possible.