update regex for matching