Frank Lichtenheld <[EMAIL PROTECTED]> writes:

> I stumbled upon this missing feature last week and would be interested
> in finally implementing it. But I'm unsure about the best syntax for
> that to not break backwards compatibility.
>
> My current idea would be to only support partial matches if explicetly
> requested and only support one wildcard '*' at the beginning and/or the
> end of the extra info.
>
> So
> tag-name extra-info   ===> /^\Qtag-name\E\s+\Qextra-info\E$/
> tag-name extra-info*  ===> /^\Qtag-name\E\s+\Qextra-info\E.*$/
> tag-name *extra-info  ===> /^\Qtag-name\E\s+.*?\Qextra-info\E$/
> tag-name *extra-info* ===> /^\Qtag-name\E\s+.*?\Qextra-info\E.*$/

Yeah, I'm not sure we need anything other than * as a wildcard.  I would
tend to start doing matching on the extra info if it's provided.  I think
right now we ignore the extra-info section of an override entirely, don't
we?  I looked at that once and then confused myself.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to