RegEx(1) Bug where "Replace" Empty

Post any Bulk Rename Utility support requirements here. Open to all registered users.

RegEx(1) Bug where "Replace" Empty

Postby dbareis » Mon Sep 16, 2024 3:50 am

If "Replace" is blank it will not make the change, the same thing for "Replace(3) works with empty replacement text. I have noticed that ticking v2 resolves this issue but since there is no tooltip for that (or anything else?) I don't know if that is it's purpose, if so it is rather cryptic.

Windows 11, app ver 3.4.4.0

P.S. The .chm also doesn't work, only displays contents and no help.
dbareis
 
Posts: 2
Joined: Mon Sep 16, 2024 3:45 am

Re: RegEx(1) Bug where "Replace" Empty

Postby Admin » Mon Sep 16, 2024 5:30 am

Hi. yes, RegEx v2 will work with empty replace as well.

P.S. The .chm also doesn't work, only displays contents and no help.


That is strange, have a look at the PDF manual.
Admin
Site Admin
 
Posts: 2923
Joined: Tue Mar 08, 2005 8:39 pm

Re: RegEx(1) Bug where "Replace" Empty

Postby dbareis » Mon Sep 16, 2024 6:48 am

Admin wrote:Hi. yes, RegEx v2 will work with empty replace as well.

P.S. The .chm also doesn't work, only displays contents and no help.


That is strange, have a look at the PDF manual.


It looks like I installed the portable version and therefore needed to unblock the .chm file, it now works. Not sure if there is a readme but that info probably should be added somewhere (if it is not already).

I have now looked at the info and can't see that v2 allows blank replacement where v1 shouldn't, so is that a bug?
dbareis
 
Posts: 2
Joined: Mon Sep 16, 2024 3:45 am

Re: RegEx(1) Bug where "Replace" Empty

Postby Admin » Mon Sep 16, 2024 8:15 am

Hi, it's just the way PCRE regex work (v1 in BRU) vs version 2. In the new version of BRU, RegEx v2 will be the default.
Admin
Site Admin
 
Posts: 2923
Joined: Tue Mar 08, 2005 8:39 pm

Re: RegEx(1) Bug where "Replace" Empty

Postby Admin » Mon Sep 16, 2024 8:41 am

Admin
Site Admin
 
Posts: 2923
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support