Search found 2 matches

by hibiscus
Thu Apr 22, 2010 11:37 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Use regular expressions in replace?
Replies: 2
Views: 3252

Re: Use regular expressions in replace?

DataMystic Support wrote:Find perl pattern:

Code: Select all

procedure (\w+)\((\w+) as string,(\w+) as long\)
if vartype\(
replace with:

Code: Select all

function $1($2 as string,$3 as long)
{
if vartype(....
Close enough that I can make it work. Thanks.
by hibiscus
Thu Apr 22, 2010 9:06 am
Forum: TextPipe Tips and Tricks, Questions and Support
Topic: Use regular expressions in replace?
Replies: 2
Views: 3252

Use regular expressions in replace?

I need to transform some hundreds of thousands of lines of program code. A solution to the following problem would be a big start: This procedure showmessage(mess as string,mheight as long) if vartype(..... needs to become this function showmessage(mess as stringt,mheight as long) { if vartype(.... ...