updated regex for comments