9d39178f2f
An empty regex is a valid regex that always matches. This behavior is consistent with at least Go and Python. A couple regression tests are included.