Bad regex causes crash on every launch

Using BTT 3.816 I was trying to use the new conditional group based on available resolutions. I accidentally chose "matches" as the condition, which tries to compile the resolution specifier "{{0, 0}, {1792, 1120}}" as a regex. This crashed BTT and now causes BTT to crash (unhandled exception) on every launch (crash stack below).

Safe mode still crashes, so I can't disable the bad preset. Unsure how to get back to a working config?

Thanks,

AxxelH

2022-07-10 14:59:00.308 BetterTouchTool[92162:2904311] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Can't do regex matching, reason: (Can't open pattern U_REGEX_RULE_SYNTAX (string {{0, 0}, {1792, 1120}}, pattern {{0, 0}, {1792, 1120}}, case 0, canon 0))' *** First throw call stack: ( 0 CoreFoundation 0x00007ff81236e7b3 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff8120cebc3 objc_exception_throw + 48 2 Foundation 0x00007ff8131e0926 +[_NSPredicateOperatorUtilities doRegexForString:pattern:likeProtect:flags:context:] + 1458 3 Foundation 0x00007ff8131e0229 -[NSMatchingPredicateOperator performPrimitiveOperationUsingObject:andObject:] + 296 4 Foundation 0x00007ff81315d325 -[NSComparisonPredicate evaluateWithObject:substitutionVariables:] + 466 5 Foundation 0x00007ff813198ffa -[NSCompoundPredicateOperator evaluatePredicates:withObject:substitutionVariables:] + 281 6 Foundation 0x00007ff813198e64 -[NSCompoundPredicate evaluateWithObject:substitutionVariables:] + 259 7 BetterTouchTool 0x000000010d716a90 -[BTTSwitchObserver evaluateActivationGroups] + 771 8 BetterTouchTool 0x000000010d7185d0 __49-[BTTSwitchObserver changedApp:keepTBVisibility:]_block_invoke + 2545 9 BetterTouchTool 0x000000010d4cca4d +[BetterTouchToolAppDelegate runOnMainQueueWithoutDeadlocking:] + 58 10 BetterTouchTool 0x000000010d717baf -[BTTSwitchObserver changedApp:keepTBVisibility:] + 637 11 BetterTouchTool 0x000000010d7171cd -[BTTSwitchObserver changedApp:] + 74 12 BetterTouchTool 0x000000010d5057a7 __42-[BetterTouchToolAppDelegate changeStore:]_block_invoke + 340 13 libdispatch.dylib 0x00007ff812075317 _dispatch_client_callout + 8 14 libdispatch.dylib 0x00007ff812077d7c _dispatch_continuation_pop + 453 15 libdispatch.dylib 0x00007ff812089208 _dispatch_source_invoke + 2179 16 libdispatch.dylib 0x00007ff812081bb1 _dispatch_main_queue_drain + 744 17 libdispatch.dylib 0x00007ff8120818bb _dispatch_main_queue_callback_4CF + 31 18 CoreFoundation 0x00007ff812330f07 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 19 CoreFoundation 0x00007ff8122f1fef __CFRunLoopRun + 2771 20 CoreFoundation 0x00007ff8122f0e5c CFRunLoopRunSpecific + 562 21 HIToolbox 0x00007ff81af985e6 RunCurrentEventLoopInMode + 292 22 HIToolbox 0x00007ff81af9834a ReceiveNextEventCommon + 594 23 HIToolbox 0x00007ff81af980e5 _BlockUntilNextEventMatchingListInModeWithFilter + 70 24 AppKit 0x00007ff814d301fd _DPSNextEvent + 927 25 AppKit 0x00007ff814d2e8ba -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394 26 AppKit 0x00007ff814d20f69 -[NSApplication run] + 586 27 AppKit 0x00007ff814cf4ee7 NSApplicationMain + 817 28 dyld 0x000000010f77b51e start + 462 ) libc++abi: terminating with uncaught exception of type NSException