Skip to content

Commit dcfd9a2

Browse files
committed
ugly hack to fix parsing bug
1 parent 81674a3 commit dcfd9a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,9 @@ pub fn main() {
6161
let mut matches: HashMap<String, u8> = HashMap::new();
6262
let mut match_index = 1;
6363
for line in merged_lines {
64-
for capture in re.captures_iter(&line) {
64+
let sanitized = line.replace("=3D", "=");
65+
66+
for capture in re.captures_iter(&sanitized) {
6567
let url_match = capture.get(1).unwrap().as_str();
6668
if matches.contains_key(url_match) {
6769
continue;

0 commit comments

Comments
 (0)