Optimize ternary condition return
Merge pull request #268 from alfaproject/regex_ccek_equals

Clean up a line to avoid a ternary operator