Apple interview question

What is semantics? What does regular expression mean?