regular expression

Are you missing a feature? Request its implementation here.
sh

regular expression

Post by sh »

:?
Using Perl syntax for regular expressions in Find/Replace: With Find: start="([0-9]*) I can find start="1", start="2"..., but with Replace: end="\1" I get wrong results end="\1" in every case. That means, Find works correctly, but not Replace with.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

If you leave the mouse over the replace field you will be able to see the hint:

Code: Select all


Samples: 'person', 'apple', 'tag', 'book', or regexp '<TAG$1>', '$0,$1'. Use {$ENTER} to insert a line separator.
So basically if you will replace \1 with $1 it should work ok.

Best Regards,
Goerge
ary_kluang
Posts: 1
Joined: Wed May 26, 2004 11:08 am
Location: kuala lumpur
Contact:

hi...

Post by ary_kluang »

i have a lot of problem about regular expression....
can i know how to start to creat RE, i want to creat RE in Ruby, Perl, Java and Python language...

what must i do 1st to create it....
i want to share your knowledge, and i hope u all give me guide if i have any problem....
Post Reply