Added comments for library functions in regexp.rs