------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1099 Summary: Ability to reference 'variables' from regexp Product: PCRE Version: 8.10 Platform: All OS/Version: All Status: NEW Severity: wishlist Priority: medium Component: Code AssignedTo: [email protected] ReportedBy: [email protected] CC: [email protected] In Perl, one can use $var in regexp and usually the variable reference will be expanded. It would be very helpful in some situations to allow PCRE to reference such external variables too. The way I see it, without (seemingly) breaking backward-compatibility, is to make some way to set values of 'named subpatterns' before pcre_exec(), so they can be referenced using existing \k{name} syntax. Surely encountering subpattern with same name inside of pattern would take precedence. -- Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email -- ## List details at http://lists.exim.org/mailman/listinfo/pcre-dev
