Page 1 of 1

regexreplace is (no more) a valid script command

Posted: 22 Nov 2013 21:25
by Ysl
Hi

I switched from 12.20 to 13.30 and now I have a problem with a script

Image

Looking in the pdf manual, I do not find difference between the 2 versions ?

Any help ?

Thanks

Re: regexreplace is (no more) a valid script command

Posted: 22 Nov 2013 21:34
by highend
It's a function, use regexreplace()

Re: regexreplace is (no more) a valid script command

Posted: 22 Nov 2013 21:39
by Ysl
Changed regexreplace to regexreplace() but same result....

Re: regexreplace is (no more) a valid script command

Posted: 22 Nov 2013 21:50
by PeterH
Ysl wrote:Changed regexreplace to regexreplace() but same result....
You wrote

Code: Select all

  $item = regexreplace("<curbase>", ....);
:?:

(...and didn't forget to use at least 1 blank character left on each line?)

Re: regexreplace is (no more) a valid script command (Solved

Posted: 22 Nov 2013 21:58
by Ysl
Thanks for your precious help !

Solved !

Re: regexreplace is (no more) a valid script command

Posted: 22 Nov 2013 23:15
by TheQwerty