Explorar o código

ENH: Allow numbers in username in URL regex.

Jeffrey Baumes %!s(int64=17) %!d(string=hai) anos
pai
achega
4cf167173f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/kwsys/SystemTools.cxx

+ 1 - 1
Source/kwsys/SystemTools.cxx

@@ -78,7 +78,7 @@
 #endif
 
 #define VTK_URL_PROTOCOL_REGEX "([a-zA-Z0-9]*)://(.*)"
-#define VTK_URL_REGEX "([a-zA-Z0-9]*)://(([A-Za-z]+)(:([^:@]+))?@)?([^:@/]+)(:([0-9]+))?/(.+)?"
+#define VTK_URL_REGEX "([a-zA-Z0-9]*)://(([A-Za-z0-9]+)(:([^:@]+))?@)?([^:@/]+)(:([0-9]+))?/(.+)?"
 
 #ifdef _MSC_VER
 #include <sys/utime.h>