Debugged regex