Re: Regular Expressions in IDE

2016-10-26 Thread Peter Haworth
Try Thierry Douez's Regex library. On Wed, Oct 26, 2016 at 10:38 AM Dr. Hawkins wrote: > On Wed, Oct 26, 2016 at 9:39 AM, Peter Reid wrote: > > > Does anyone know where I can get guidance notes for the regular > expression > > find & replace in the IDE script editor. In particular, what is the

Re: Regular Expressions in IDE

2016-10-26 Thread dunbarx
Simply wait til Mr. Thierry sees this. Does he follow this list? If not, post to the forum. Craig Newman -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Regular-Expressions-in-IDE-tp4709804p4709806.html Sent from the Revolution - User mailing list archive at Na

Re: Regular Expressions in IDE

2016-10-26 Thread Dr. Hawkins
On Wed, Oct 26, 2016 at 9:39 AM, Peter Reid wrote: > Does anyone know where I can get guidance notes for the regular expression > find & replace in the IDE script editor. In particular, what is the syntax > for using remembered groups in the replacement string. There is only a subset of what w

Re: Regular expressions

2013-10-09 Thread Thierry Douez
Hi Terry, I guess you may like to participate in this thread: http://forums.runrev.com/viewtopic.php?f=66&t=17412 Regards, Thierry - 2013/7/2 Terry Vogelaar stringToChange: Block of text matchExpression: [^<]+ replacementStri

Re: Regular expressions

2013-07-04 Thread Geoff Canyon
I like general utility functions like this. I've written this one myself somewhere in the past. When we can tinker with the language this will definitely be in my lexicon. On Thu, Jul 4, 2013 at 10:08 AM, Peter M. Brigham wrote: > > function offsets str,container,includeOverlaps > _

Re: Regular expressions

2013-07-04 Thread Peter M. Brigham
On Jul 2, 2013, at 1:13 PM, Terry Vogelaar wrote: > However, I need to do some thinking how I can turn this into a > search-and-replace-all style action. I probably need to write a loop where I > use offset to find the first "", then use > matchChunk to see if it matches and to put things in va

Re: Regular expressions

2013-07-02 Thread J. Landman Gay
On 7/2/13 12:13 PM, Terry Vogelaar wrote: Hi Jan, This sure is helpful. However, I need to do some thinking how I can turn this into a search-and-replace-all style action. I probably need to write a loop where I use offset to find the first "", then use matchChunk to see if it matches and to pu

Re: Regular expressions

2013-07-02 Thread Terry Vogelaar
Hi Jan, This sure is helpful. However, I need to do some thinking how I can turn this into a search-and-replace-all style action. I probably need to write a loop where I use offset to find the first "", then use matchChunk to see if it matches and to put things in variables, and then change

Re: Regular expressions

2013-07-02 Thread Jan Schenkel
Hi Terry, Maybe the 'matchChunk' function can help you achieve your goal? >From its dictionary entry: Syntax: matchChunk(string,regularExpression[,positionVarsList]) ... If the regularExpression includes a pair of parentheses, the position of the substring matching the part of the regular e