I have this regex (^[a-z]\s{1})+
. It is supposed to match only letters that are separated by a single space but it still returns true even with this input:
"a a a"
I want it to reject the expression if it has two consecutive spaces. Can you help me?