https://bugzilla.mindrot.org/show_bug.cgi?id=3143

Darren Tucker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Darren Tucker <[email protected]> ---
There's a couple of problems with this:
 - the current matching code doesn't lend itself to supporting this
kind of backreference
 - it does however currently support multiple wildcards (eg
"*-*-?.domain.*") which don't map well onto the token you suggested. 
It'd probably need to be regex-style digits %1 - %9.
 - "Host" specifically supports multiple matches.  You could have, eg,
"Host pc-? *-* *.*.*", at which point you could have 1, 2 or 3
backrefs.  In that case, what does "%3" evaluate to and when?

I'm not sure it's useful enough to be worth the extra complexity in the
parser, which is already pretty complex.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to