as.regexr picks up the ability to not include comments and/or names and also allows the option of where comments are placed.