Powered By GitBook
RegEx Examples: Filename Alignment Overide
In BC, the syntax is more of an ode to Regex than it is full-on Unix Regex.
From the menu, choosing Rules->Misc->AlignmentOveride->[+] we would put
LEFT (\w+)(\d+).txt
RIGHT $1_$2.log
where the $1 and $2 are the captured text from the left side.
The logic under the BC hood is roughly shown in the screenshot below.
Last modified 2yr ago
Copy link