Minor cleanup
Implement safe regex check (prevent infinite loop)
Release 4.5.0