On Fri, 10 Nov 2000, Peter Love wrote:
>
> Hi,
>
> I have a regular expression with a comma:
>
> USEREXCLUDE *
> USERINCLUDE REGEXP:^[a-z]{1,5}\d\d\d$
>
> The last command appeared to be ignored. When I used -settings I find
> that the line is getting split on the comma:
>
> Including (+) and excluding (-) the following users:
> All included, then
> - *
> + REGEXP:^[a-z]{1
> + 5}\d\d\d$
>
> How do I prevent the regular expression getting split?
>
Hmmm, this is a problem I hadn't thought of, and there isn't a good
workaround.
The problem is that the INCLUDE and EXCLUDE commands take a comma-separated
list. So analog thinks that you asked for two INCLUDEs, the same as if you'd
said
USERINCLUDE sret1,pklove
or maybe a better analogy is
USERINCLUDE REGEXP:sret\d,pklove
I'm not really sure how to distinguish the two cases though. It's not been a
problem before I introduced regexps, because commas don't normally occur in
names.
--
Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"The new operating system will recover more easily from system crashes."
(Microsoft, aiming high with Windows Millennium)
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------