regex: Expose r in the module as well
Document regex module