Merge pull request #238 from jonathandturner/parse_glob

Allow wildcard globs to be used in a bare word
This commit is contained in:
Jonathan Turner 2019-08-02 12:51:38 +12:00 committed by GitHub
commit 8929329102
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -532,6 +532,7 @@ fn is_start_bare_char(c: char) -> bool {
'_' => true, '_' => true,
'-' => true, '-' => true,
'@' => true, '@' => true,
'*' => true,
_ => false, _ => false,
} }
} }
@ -546,6 +547,7 @@ fn is_bare_char(c: char) -> bool {
'_' => true, '_' => true,
'-' => true, '-' => true,
'@' => true, '@' => true,
'*' => true,
_ => false, _ => false,
} }
} }