Hi Sheri,

local nocachedefault=regex.m1(defaulttext,
?"(?mi)^nocache=\K[01](?=\s*$)", "\\0")

not quite right:  ini rules seem to say

nocache=0
nocache =0
nocache  = 0
are identical i.e. spaces before and after = are ignored

also there a bunch of rules about quotes so
nocache=" 0"  comes back with " 0" but
nocache= 0  comes back with "0" 

and so on

might be easier to use ini plugin (which uses the win32 api and so
does it according to win32 rules.  One hopes.





Reply via email to