Show More
@@ -73,7 +73,7 b' pub enum PatternSyntax {' | |||||
73 | } |
|
73 | } | |
74 |
|
74 | |||
75 | /// Transforms a glob pattern into a regex |
|
75 | /// Transforms a glob pattern into a regex | |
76 | fn glob_to_re(pat: &[u8]) -> Vec<u8> { |
|
76 | pub fn glob_to_re(pat: &[u8]) -> Vec<u8> { | |
77 | let mut input = pat; |
|
77 | let mut input = pat; | |
78 | let mut res: Vec<u8> = vec![]; |
|
78 | let mut res: Vec<u8> = vec![]; | |
79 | let mut group_depth = 0; |
|
79 | let mut group_depth = 0; |
General Comments 0
You need to be logged in to leave comments.
Login now