silly question about manual parsers: suppose you have a list of strings, or regexes, or something and you want to convert a string into a series of tokens/symbols (typically on a microcontroller) ```rust let test_string = "string1 jfjfjfj string2 faewfa string3 2342342".to_string(); enum Symbol { String1, String2, String3 } ... fn magic(test_string: String) -> Vec { ... } ``` Is there some ergonomic way to do this mapping automatically?