Menu

#24 RegExp tags

open
nobody
None
5
2003-05-26
2003-05-26
No

It would be nice, if we had in addition to normal tags an
extra tag-file with tags witch where replaced with regular
expressions.

Because it is alternative, it does not decrease the
performance. It will only be used, if defined in the project-
file.

A regexp-tag could be look like this:

<a href="(.*)">dummy</a> := <a href="\\1">\\1</a>

If you now have a link in the page witch look like this:

<a href="index.htm">dummy</a>

It would be replaced with this:

<a href="index.htm">index.htm</a>

Also multi-line-tags are possible with this. Think about:

<body>(.*)</body> := <html><body>\\1</body></html>

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.