You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/06/26 16:52:48 UTC

[Bug 53387] SSI: Allow to use $1 to get result of regular expression matching

https://bz.apache.org/bugzilla/show_bug.cgi?id=53387

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
I've tested httpd and the behaviour is as follows:

Before any matches are attempted, $1 and friends are set to the empty string
After a successful match, $1 and friends remember the contents of the group
until the next match is attempted (not is successful)
After an unsuccessful match, $1 and friends are set to the empty string

At first glance, this looks fairly easy to implement.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org