Replaced the Regex and removed return code checks.

The pylint process seems to be returning random exit codes.