protected function removeComments($string) { return preg_replace('(^#(?: [\\x20-\\x7E]{1,77})?$)m', '', $string); }