1) Errors reporting improvements
2) Regex pattern length fixed