added plus sign to regex expression for exit codes