mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
Revert "Space can be used instead of slash in file chooser (⌘T)"
Several people dislike the change (see issue #893) and the commit didn’t introduce new functionality per se: full path searching is still available when explicitly typing a slash.
This reverts commit 619c19e8ed.
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