diff --git a/Frameworks/OakFilterList/src/FileChooser.mm b/Frameworks/OakFilterList/src/FileChooser.mm index 5c8fec10..901c965e 100644 --- a/Frameworks/OakFilterList/src/FileChooser.mm +++ b/Frameworks/OakFilterList/src/FileChooser.mm @@ -96,7 +96,7 @@ namespace if(str == NULL_STR || str.empty()) return; - if(regexp::match_t const& m = regexp::search("(?x) \\A (?: (?:/(?=.*/))? (.*) / )? ([^/]*?) (\\.[^/]+?)? (?: :([\\d+:-x\\+]*) | @(.*) )? \\z", str)) + if(regexp::match_t const& m = regexp::search("(?x) \\A (?: (?:[/ ](?=.*[/ ]))? (.*) [/ ] )? ([^/ ]*?) (\\.[^/ ]+?)? (?: :([\\d+:-x\\+]*) | @(.*) )? \\z", str)) { _initialized = true;