help-cfengine
[Top][All Lists]
Advanced

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

Re: quotes in regexp patterns


From: Andrew Stribblehill
Subject: Re: quotes in regexp patterns
Date: Tue, 19 Oct 2004 09:50:59 +0100
User-agent: Mutt/1.5.6+20040523i

Quoting martin f krafft <madduck@madduck.net> (2004-10-19 04:26:11 BST):
> Another question, possibly stupid: I am trying to replace
> 
>   Driver          "nv"
> 
> with
> 
>   Driver          "nvidia"
> 
> But
> 
>   ReplaceAll "Driver\s*\"nv\"" With "Driver   \"nvidia\""
> 
> is not working. What am I doing wrong?

I would try something like:
    ReplaceAll 'Driver[ $(tab)]*"nv"' With 'Driver "nvidia"'

By the way, I feel your pain re the cluster room from hell.

-- 
VIKING NORTH UTSIRE SOUTH UTSIRE FORTIES CROMARTY FORTH TYNE DOGGER
SOUTHEAST 5 TO 7, PERHAPS GALE 8 LATER IN VIKING, SOUTH UTSIRE AND
FORTIES. RAIN OR SHOWERS. MODERATE OR GOOD




reply via email to

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