------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1099
--- Comment #2 from Pavel Kostromitinov <pavel@???> 2011-03-25 14:01:36 ---
Yes, I understand the difference between Perl behaviour and feature I'm
proposing. In fact, i don't need to change the regexp itself using those
variables, as Perl does, only to reference constant strings defined somewhere
externally.
I can explain the very scenario from which this proposition emerged.
For a long time I'm developing a PCRE-based program (plugin for Far file
manager) for search/replace/rename/etc operations.
For example, one can search for files matching a mask (possibly a regexp), and
then do a search/replace operation in them. And I got request from users to
allow operations as: find all .cue files and replace string matching its own
name inside with some other line...
If the feature I'm asking could be implemented, it can be performed as:
Search for "(?<name>.*?)\.cue", and replace "(\k<name>)" with "\L\u$1".
But without it, I simply don't know hot to implement such things...
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email