Instantiate RegExp in try block scope again