Apple Interview Question

What is semantics? What does regular expression mean?