ietf-nntp Wildmats
Clive D.W. Feather
clive at demon.net
Sat Nov 18 07:53:48 PST 2000
Russ Allbery said:
> > But now look at
> > (X)PAT Subject 123- *foo,bar bar,baz*
> > meaning the same as
> > (X)PAT Subject 123- *foo,bar\Sbar,baz*
>
> > The first one looks like it is intended to match:
> > Subject: foo bar
> > Subject: foo baz
> > Subject: bar bar
> > Subject: bar baz
> > whereas the second one looks like it is intended to match
> > Subject: foo
> > Subject: bar bar
> > Subject: baz
> but using
> space as alternation seems very odd to me.
No, he's using argument separation as a higher level version of
concatentation. That is, the first example is *roughly* the regex
"^(.*foo|bar) (bar|baz.*)$"
I think that's wrong.
> My preference at the moment is to standardize on being able to escape a
> comma with \, forbid spaces in wildmats, introduce \uXXXX (and probably \U
> as well), and say that PAT takes only one argument. It makes PAT look
> different than XPAT; I have no problems with that.
Agreed.
--
Clive D.W. Feather | Work: <clive at demon.net> | Tel: +44 20 8371 1138
Internet Expert | Home: <clive at davros.org> | Fax: +44 20 8371 1037
Demon Internet | WWW: http://www.davros.org | DFax: +44 20 8371 4037
Thus plc | | Mobile: +44 7973 377646
More information about the ietf-nntp
mailing list