macro_rules! scan { ($text:expr, $($arg:expr),*) => { ... }; ($input:expr => $pattern:expr, $($arg:expr),*) => { ... }; }
This macro allows to pass several variables so multiple values can be read