Bugfixing the regex that needs to find all constraints

When no operator is used, it’s treated as an exact constraint. So in
that case it should match and the constraint should be validated.