More accurate regex for matching configID