mirror of
https://github.com/textmate/textmate.git
synced 2026-01-20 04:08:04 -05:00
Space can be used instead of slash in file chooser (⌘T)
This enables full path search. Closes #893.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user