Help with tagged regular expressions
Posted: Mon Aug 19, 2002 12:35 pm
I'm having a problem using tagged regular expressions while using find/replace.
Here is my problem: It doesn't seem to work.
Here is an example (contrived) data file:
bob
bob
bobrobbob
hello bob
Here is the search and replace dialog:
Find expression: \([bob]+\)
Replace expression: \1 dude
Expected output after search/replace runs:
bob dude
bob dude
bob dude robbob dude
hello bob dude
But - when I try to run the search/replace it gives me the following error:
Cannot find regular expression: \([bob]+\)
I checked the help and all the examples under regular expressions and everything looks right. I even looked under all the configuration "stuff" that I could find to see if this was something that needed to "turned on" and I couldn't find anything.
I'm using version 4.5.0 : 32-bit Edition on Windows 2000
Is this a bug or am I doing something wrong?
Thanks for the help
Kevin
Here is my problem: It doesn't seem to work.
Here is an example (contrived) data file:
bob
bob
bobrobbob
hello bob
Here is the search and replace dialog:
Find expression: \([bob]+\)
Replace expression: \1 dude
Expected output after search/replace runs:
bob dude
bob dude
bob dude robbob dude
hello bob dude
But - when I try to run the search/replace it gives me the following error:
Cannot find regular expression: \([bob]+\)
I checked the help and all the examples under regular expressions and everything looks right. I even looked under all the configuration "stuff" that I could find to see if this was something that needed to "turned on" and I couldn't find anything.
I'm using version 4.5.0 : 32-bit Edition on Windows 2000
Is this a bug or am I doing something wrong?
Thanks for the help
Kevin