regexp matching can now handle no matches