I want to match all expressions with exactly one whitespace. Currently, I’m using [^\\s]*\\s[^\\s]*. That doesn’t seem like a very good way, though.
I want to match all expressions with exactly one whitespace. Currently, I’m using [^\\s]*\\s[^\\s]*
Share
Why not? It’s fine, just a bit overcomplicated: