Sheri wrote: > I've updated the script to address block comments and //-style comments >
Thank you, I use ; ;; // and /* */ style comments throughout my scripts. Got a couple of errors. The first one is a missing local declaration (I use 'variables must be declared before use' in my pproconf.pcf) Variable used before being declared hpattcomment Error occurred near line 42 of script convert_script_to_ini: hpattcomment=regex.pcreCompile(?"^(\/\/).+", "m") The second error is more obscure: ERROR: regex.pcreReplace: Option incomprehensible: m Error occurred near line 48 of script convert_script_to_ini: subj=hpattcomment.pcreReplace(subj, ";", "m target:1")
