Scanning sub-expressions