Page 1 of 1

RegExp comment/preview bug

Posted: 16 Sep 2007 13:10
by jacky
Little problems with regexp rename and the comment support it seems:

XY should remove comments (?#comment syntax) and then treat the regexp, however, it seems that if I'd say it first separate the two pattern (regexp pattern>replacewith pattern) thus when using the greater than sign in a comment, it doesn't work :?

And to add to this, doing it results in a little message error, and when the rename dialog come back, the preview button is gone! :shock:

If you want to try (if regexp works it won't rename nothing) :

Code: Select all

(?#comment>here)^(.*)$>$1

Re: RegExp comment/preview bug

Posted: 16 Sep 2007 15:54
by admin
Ah, yes. So it should be: first strip the comments, then resolve the replace-operator ">". I'll fix it (what a surprise).

Re: RegExp comment/preview bug

Posted: 16 Sep 2007 15:57
by jacky
admin wrote:Ah, yes. So it should be: first strip the comments, then resolve the replace-operator ">". I'll fix it (what a surprise).
Yep, would be great, thanks :) (and don't forget the runaway button ;))

Re: RegExp comment/preview bug

Posted: 16 Sep 2007 21:05
by admin
jacky wrote:
admin wrote:Ah, yes. So it should be: first strip the comments, then resolve the replace-operator ">". I'll fix it (what a surprise).
Yep, would be great, thanks :) (and don't forget the runaway button ;))
Yep, done. :)