added comments to scanner RE builtin funcs