engine/dlib/src/dlib/uri.cpp
// NOTE: Does not conform to rfc2396 but good enough for our purposes
Does not conform to rfc2396 but good enough for our purposes
Does not conform to rfc2396 but good enough for our purposes
bool IsValidScheme(const char* start, const char* end)
    {
        const char*s = start;
        while (s < end)
        {
            if (!isalnum(*s))
                return false;
            ++s;
        }
        return true;
    }
bool IsValidScheme ( const char * start , const char * end ) { const char * s = start ; while ( s < end ) { if ( ! isalnum ( * s ) ) return false ; ++ s ; } return true ; }
NOTE: Does not conform to rfc2396 but good enough for our purposes
NOTE : Does not conform to rfc2396 but good enough for our purposes