if you have a no-std library for regex, you can do something like: ```rust match value { val if pattern1.matches(val) => { ... }, val if pattern2.matches(val) => { ... }, // ... } ```