1294: Multi-Rename Broken With Regex Enabled

Discussion related to "Everything" 1.5 Alpha.
Post Reply
therube
Posts: 3426
Joined: Thu Sep 03, 2009 6:48 pm

1294: Multi-Rename Broken With Regex Enabled

Post by therube » Mon Jan 10, 2022 4:02 pm

1294: Multi-Rename (Shift+F2) "properties" are Broken when Regex is Enabled.

The wanted "property", say, #titlecase<>: is entered literally - in the 'New names:', instead of effecting a change.


(Works with 'Regular expressions' disabled.)


OK, that's weird.
There has to be something else in play... cause I'm not getting it to break, here?
But at home it is... so not sure just what the trigger is?

raccoon
Posts: 684
Joined: Thu Oct 18, 2018 1:24 am

Re: 1294: Multi-Rename Broken With Regex Enabled

Post by raccoon » Mon Jan 10, 2022 7:53 pm

therube wrote:
Mon Jan 10, 2022 4:02 pm
#titlecase<>:
#titlecase:<>

therube
Posts: 3426
Joined: Thu Sep 03, 2009 6:48 pm

Re: 1294: Multi-Rename Broken With Regex Enabled

Post by therube » Mon Jan 10, 2022 8:29 pm

Oops, that's just a typo (above).

I wouldn't have manually typed anything in, simply selected from the list.

void
Developer
Posts: 9402
Joined: Fri Oct 16, 2009 11:31 pm

Re: 1294: Multi-Rename Broken With Regex Enabled

Post by void » Tue Jan 11, 2022 5:50 am

I haven't had any luck producing the issue.

The next time this occurs could you please send a screenshot?


Maybe there's a strange parsing issue..
A \ in front of #titlecase: would prevent #titlecase: from expanding.

therube
Posts: 3426
Joined: Thu Sep 03, 2009 6:48 pm

Re: 1294: Multi-Rename Broken With Regex Enabled

Post by therube » Tue Jan 11, 2022 4:49 pm

The next time this occurs could you please send a screenshot?
I was hoping to do just that, but once I re-enabled regex, I then couldn't duplicate it.
But, I'll keep my eyes open...

void
Developer
Posts: 9402
Joined: Fri Oct 16, 2009 11:31 pm

Re: 1294: Multi-Rename Broken With Regex Enabled

Post by void » Wed Jan 26, 2022 9:17 am

Ran into this issue...

When all the filenames are the same, the preprocessor does not expand any text.

I am working on a fix.

void
Developer
Posts: 9402
Joined: Fri Oct 16, 2009 11:31 pm

Re: 1294: Multi-Rename Broken With Regex Enabled

Post by void » Thu Feb 03, 2022 5:42 am

Everything 1.5.0.1299a fixes an issue with preprocessor not expanding in the multi-file renamer when no variables are used.

Post Reply