IdPv3: Problem with back references in mapped attribute definition
Cantor, Scott
cantor.2 at osu.edu
Tue Mar 17 11:48:19 EDT 2015
On 3/17/15, 11:41 AM, "Etienne Dysli-Metref" <etienne.dysli-metref at switch.ch> wrote:
>On 17/03/15 15:58, Cantor, Scott wrote:
>> I have no idea, but since "\" normally escapes a backslash in a Java
>> regex, I would expect "\\1" to return "\1".
>
>That's exactly what it does. Not what I expect though...
Why not? You've escaped the character that I assume is supposed to signal the back-reference, so you've asked for a literal backslash and then a 1.
Escaping gets hairy in Java, but I'm just assuming the simple explanation. None of the characters are XML-significant, so there's no tampering there.
-- Scott
More information about the users
mailing list