BTW, there are no regular expressions in that code.

?: is the "conditional operator", and it is a ternary operator. This means it operates on three operands as opposed to binary (2 operands) or unary (1 operand) operators.