/// Function to make CAS user regular expression.
Function to make CAS user regular expression.
Function to make CAS user regular expression .
fn make_cas_user_regex() -> Regex {
    // Don't validate the RPI CAS XML too much. Just look for the user tag
    // in the cas namespace and capture its value.
    Regex::new(r"<cas:user>([[:alnum:]]+)</cas:user>").expect("Could not create CAS RCS ID Regex")
}
fn make_cas_user_regex ( ) -> Regex { // Don't validate the RPI CAS XML too much. Just look for the user tag // in the cas namespace and capture its value. Regex :: new ( r"<cas:user>([[:alnum:]]+)</cas:user>" ) . expect ( " " ) }
Function to make CAS user regular expression.
Function to make CAS user regular expression .