Domanda di colloquio di Apple

What is semantics? What does regular expression mean?