fancy_regex doesn't support disabling Unicode, so switch to explicitly matching ASCII digits.
// look for groups of ASCII digits (as many as possible) separated by a uniform separator
// from the valid set
let pattern = fancy_regex::Regex::new(
- "(?-u)^(?P<v>v)?(?P<neg>-)?(?P<num>\\d+((?P<sep>[,. \u{2009}]|, )\\d+((?P=sep)\\d+)*)?)"
+ "^(?P<v>v)?(?P<neg>-)?(?P<num>[0-9]+((?P<sep>[,. \u{2009}]|, )[0-9]+((?P=sep)[0-9]+)*)?)"
).unwrap();
let match_result = pattern
.captures(lines[0].borrow())