Login  Register

Re: s.replace question

Posted by Kenneth Sloan-2 on Aug 11, 2020; 9:37pm
URL: http://imagej.273.s1.nabble.com/s-replace-question-tp5023836p5023839.html

Not an expert on the macro language, but a look at Java's String.replaceAll (which looks like the likely analog), the first argument is a regular expresssion.  "(" and "()" are interpreted as regular expressions.  The first is not syntactically correct, and the second is not what you intend.

 --
Kenneth Sloan
[hidden email]
Vision is the art of seeing what is invisible to others.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html