Page 1 of 1

brc64 /regexp failing with quotes or apostrophes

PostPosted: Sun Apr 06, 2025 12:36 pm
by ThomasT
Example filename:
"Something S01e02 T’boch.mkv"

(Not really an apostrophe, but a RIGHT SINGLE QUOTATION MARK)

Command:
Code: Select all
brc64 /PATTERN:"*.mkv" /REGEXP:"(?i)(.* S\d\d)e(\d.*)":"\1E\2" /QUIET /EXECUTE


result:
"E02 T.mkv"

I don't see why it's failing. The way I'm reading it, it should just change the case of the "e"

Please advise.

/RegExp failing with unicodes

PostPosted: Sat Apr 12, 2025 12:15 pm
by Luuk
The pcre.dll for BRC wont properly conduct unicodes, but could do something like...
brc64 /Pattern:*.txt /ReplaceCI:"’:|" /RegExp:"^(.* S\d\d)e(\d.*):\1E\2" /ReplaceCI:"|:’"