bugfix: change regex to remove backtracking