Search found 5 matches

by vernsworld
Thu Nov 05, 2009 7:24 pm
Forum: Talking LiveCode
Topic: Regular Expression help with simple search and replace
Replies: 7
Views: 4706

That's odd. I couldn't get \t to work at all. It could be that the pattern didn't work for some other reason and I changed the tab pattern and did other things to it. I would love to get this as close to what I'm use to. I love to fiddle with regex and come up with some wicked complex patterns. this...
by vernsworld
Thu Nov 05, 2009 6:45 am
Forum: Talking LiveCode
Topic: Regular Expression help with simple search and replace
Replies: 7
Views: 4706

Woohooo! I'm golden. I can put text in hidden fields with all my regex code. I can use \011 to escape tabs since RR doesn't do \t. Because I'm using text in a field for the regex pattern I can escape quotes the way I'm use to \". Now if this is all silly on my part let me know. If there is a better ...
by vernsworld
Thu Nov 05, 2009 5:21 am
Forum: Talking LiveCode
Topic: Regular Expression help with simple search and replace
Replies: 7
Views: 4706

Oh my... I think I figured this out... is this the only way? here's sample text to find. There are leading tabs and quotes throughout the text: "1" false true false true To "find" the "1" I am using the following "regex" in RR: "(" & tab & "+" & quote & "[0-9]+" & quote & ")" So the only way to do t...
by vernsworld
Thu Nov 05, 2009 3:51 am
Forum: Talking LiveCode
Topic: Regular Expression help with simple search and replace
Replies: 7
Views: 4706

I am going to simplify my question to some degree...

How the heck do you escape quotes in replaceText()?

-vern
by vernsworld
Thu Nov 05, 2009 1:51 am
Forum: Talking LiveCode
Topic: Regular Expression help with simple search and replace
Replies: 7
Views: 4706

Regular Expression help with simple search and replace

Okay here's the story so far... I have application files from a commercial animation program that are plain ascii text. The application in question has no backwards compatibility, you can't save to an older version, so I simply need to reformat a few "sections" of the file to convert to an older ver...

Go to advanced search