update regex and add additional comments