added some documentation

This commit is contained in:
2025-04-26 19:22:13 +02:00
parent 6496f671d9
commit 0195bb3666
4 changed files with 26 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
use regex::Regex;
/// Parses the output of PM3 finds the read IDs
/// Example input: `[+] UID.... 3112B710`
pub fn parse_line(line: &str) -> Option<String> {
let regex = Regex::new(r"(?m)^\[\+\] UID.... (.*)$").unwrap();
let result = regex.captures(line);