// Compiles all the regex once
Compiles all the regex once
// Compiles all the regex once
func prepareGlobalRegExp() error {
	var err error
	if protocolRegExp == nil {
		protocolRegExp, err = initRegExp(credentialsInUrlRegexp, removeCredentials)
		if err != nil {
			return err
		}
	}
	return err
}
func prepareGlobalRegExp ( ) error { var err error if protocolRegExp == nil { protocolRegExp , err = initRegExp ( credentialsInUrlRegexp , removeCredentials ) if err != nil { return err } } return err }
Compiles all the regex once
Compiles all the regex once