Your system can not assure that A different approach on the computer hasn't modified the file. It truly is what Eric Lippert refers to being an exogenous exception. You cannot avoid it by checking for the file's existence beforehand.If you would like to enforce that halt be followed by a whitespace, you might modify the RegEx like so:So race situat