Simplified and fixed constructors regex