|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
#1
|
|||
|
|||
Regex in 2022.12 VERY Broken
What the hell AVID!
Something is very wrong with the Regex in 2022.12, all my presets for renaming stems and midi from arrangers are dead in the water and even just trying to do it on the fly doesn't work. searching for a string is now totally not accurate to the exact string this regex to remove all extra spaces in one shot is totally broken ^\s|\s+(?!\S)| Did they change the delimiter? Is it just... broken? |
#2
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
Having similar issues. I wonder how many people are really using regex in ProTools.
|
#3
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
Ha! I would venture not many - I've been using PT since forever and regex off and on over the years, and I never even knew PT supported regex - just looked in the manual and lo and behold there's a whole section on it! Thanks for pointing it out! Now I wanna incorporate it into my workflow, but...if it's broken I guess I won't bother.
__________________
http://www.richbreen.com ---------------------------------------- Mac Studio / Ventura, PT 2023.12.HDX, Avid HD I/Os and Metric Halo ULN8, 3xS1/Dock Also running a Mac Studio Ultra / Ventura / HDX / MTRX / S6 |
#4
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
Never heard of it. Interesting.
__________________
David J. Finnamore PT 2023.12 Ultimate | Clarett+ 8Pre | macOS 13.6.3 on a MacBook Pro M1 Max PT 2023.12 | Saffire Pro 40 | Win10 latest, HP Z440 64GB |
#5
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
Quote:
It's honestly super handy, if you learn it well enough you can make a renaming task that would take many moves happen at once. |
#6
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
I urge you to submit a support case, precisely because not a lot of people are using Regex. I submitted mine and they couldn't reproduce it yet, they've requested that I send them my ptx file which I'll do when I get back to town next week.
|
#7
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
Quote:
Code:
^\s|\s+(?!\S) https://www.regextester.com
__________________
🖥️ Pro Tools Ultimate 2023.12.1 | Mac Studio M1 Max (64 GB) | Ventura 13.5.2 | Focusrite Red 4Pre 💻 Pro Tools Ultimate 2024.3 | MacBook Pro M3 Pro (18 GB) | Sonoma 14.3 |
#8
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
Some of what I use is still working, but mainly I'm upset about case conversion.
Find: (\w) Replace: \L$1 It doesn't work in the regex tester you linked, but I have no clue why. It seems like there's different types of regex, and I don't know which one PT is using. |
#9
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
I will follow up by saying my regex still works in the tester linked in the PT reference guide...
|
#10
|
|||
|
|||
Re: Regex in 2022.12 VERY Broken
It seems Pro Tools uses either the Javascript/ECMAscript or Python compatible version of Reg Expressions
Switch that site's Regex engine over to javascript/ECMAscript and it won't work. C++ is what I'm going to assume PT is written in, and that language uses the ECMAScript regex engine.
__________________
🖥️ Pro Tools Ultimate 2023.12.1 | Mac Studio M1 Max (64 GB) | Ventura 13.5.2 | Focusrite Red 4Pre 💻 Pro Tools Ultimate 2024.3 | MacBook Pro M3 Pro (18 GB) | Sonoma 14.3 Last edited by moogboy100; 02-23-2023 at 08:43 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AutoTune 8 (8.1.8 and 8.0.4) broken in 2022.9 | anearforgear | Pro Tools | 20 | 01-31-2024 12:06 PM |
Regex in 2022.12 VERY Broken | NateAlexander | Pro Tools | 1 | 02-09-2023 01:03 AM |
MTRX Studio with Protools 2022.10 broken | Jonne | Pro Tools | MTRX & MTRX Studio | 6 | 11-06-2022 01:34 PM |
2022.9 and Waves broken | devs1980 | Pro Tools | 41 | 10-22-2022 01:47 PM |
Duy plugins gui broken in 2022.9 | ejsongs | Pro Tools | 1 | 10-03-2022 12:39 AM |