help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regular expressions and backslashes...


From: Adrian Phillips
Subject: Re: Regular expressions and backslashes...
Date: 03 Aug 2001 06:48:16 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.7

>>>>> "Juri" == Juri Jensen <address@hidden> writes:

Just to clarify this part :-

    >>  Right, I've been testing this with perl and having lots of
    >> fun. Yes, it is the backslashes. Using [\] gives problems
    >> because \] is just an escaped ] possibly. I've tried various
    >> variations and I'm currently stumped although you could try
    >> [\\] to see if that helps.

    Juri> Well I tried that and it didn't work....

Hmm, but later you say it works.

    >>  Stop the press !! I got it working using :-
    >> 
    >> ^ *;* *logon path = [\\][\\]%N[\\]USERPROFILES[\\]%U(
    >> +(;.*)?)?$
    >> 
    >> Try that and let me know if it works as it works using perl at
    >> least but I haven't checked with cfengine

    Juri> It works!!! Thanks!! Fast reply and an elaborate answer, I
    Juri> must say...

Which is what I asked in the first paragraph, ie. using [\\], is there
something else there that I changed which I haven't noticed (the
[[:blank:]] perhaps ?

Sincerely,

Adrian

-- 
Your mouse has moved.
Windows NT must be restarted for the change to take effect.
Reboot now?  [OK]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]