changed regex, added test file