Basic regexp matching working