-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed
Labels
Issue-BugSomething isn't workingSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-PowerRenameRefers to the PowerRename PowerToyRefers to the PowerRename PowerToy
Description
Microsoft PowerToys version
0.97.0
Installation method
PowerToys auto-update
Area(s) with issue?
PowerRename
Steps to reproduce
Using this RegEx: ^\d{4}-(\d\d-\d\d)_(.+)$
and this rename: $2_$1
on this filename: 2025-01-22_Accrued_Benefit.pdf
using Apply to: Filename only
results in only the match from $2, i.e. Accrued_Benefit
✔️ Expected Behavior
Filename of Accrued_Benefit_01-22.pdf
❌ Actual Behavior
Filename of Accrued_Benefit.pdf
Additional Information
OS Version: Windows 11
Not using Boost library for RegEx
Other Software
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-BugSomething isn't workingSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-PowerRenameRefers to the PowerRename PowerToyRefers to the PowerRename PowerToy