Show More
@@ -243,7 +243,7 b' pub fn parse_pattern_file_contents(' | |||||
243 | for (line_number, mut line) in lines.split(|c| *c == b'\n').enumerate() { |
|
243 | for (line_number, mut line) in lines.split(|c| *c == b'\n').enumerate() { | |
244 | let line_number = line_number + 1; |
|
244 | let line_number = line_number + 1; | |
245 |
|
245 | |||
246 |
if line.contains(& |
|
246 | if line.contains(&b'#') { | |
247 | if let Some(cap) = comment_regex.captures(line) { |
|
247 | if let Some(cap) = comment_regex.captures(line) { | |
248 | line = &line[..cap.get(1).unwrap().end()] |
|
248 | line = &line[..cap.get(1).unwrap().end()] | |
249 | } |
|
249 | } |
General Comments 0
You need to be logged in to leave comments.
Login now