Small bug in Help fileMatch

Would you like Bulk Rename Utility to offer new functionality? Post your comments here!

Small bug in Help fileMatch

Postby chrisjj » Thu Jul 10, 2025 3:19 pm

rawDate = fileMatch('^Date:\s*.*', 'i');


'\s" is nonsense here, and presumably that should read:

Code: Select all
rawDate = fileMatch('^Date:\\s*.*','i');


though it doesn't cause a fail.

And better:

Code: Select all
rawDate = fileMatch('^Date:.*',    'i');


or indeed (as per RFC):

Code: Select all
rawDate = fileMatch('^Date:.*');
chrisjj
 
Posts: 44
Joined: Wed Mar 30, 2011 5:26 pm

Return to Suggestions