fix regex in constructor matching
Merge pull request #3 from ordrin/dev_polina

fix regex in constructor matching