Changed regex to use non-capturing groups and allow only white space before comment marks