Updating parser with regex