I believe this should be regline($(comment_marker), instead of regline($(marker),