#!/usr/bin/env python3 import argparse import os import re import textwrap # Yes, you shouldn't try to parse these kinds of things with regular # expressions. But writing a proper parser takes effort, and this approach will # catch all VST3 plugins just fine even if the developer somehow included # quotes in their vendor or plugin names. This regexp will find VST3 plugins in # a .RPP file and capture its name and class ID. REAPER_VST3_RE = re.compile(rb'