Is there a way to use the Unicode tables in the Rust regex crate to match a single char without turning it into a String or &str? It seems like the internals must have a way to do this, but perhaps not exposed? Is there a trick?
Let's say I have a char 'q' and I want to find out if it matches ID_Start. It seems weird that I need to make a string to find out. I can use the unic crates, but regex already has a good character matching DSL so I'd rather just use it.