Browse Source

ENH: Allow numbers in username in URL regex.

Jeffrey Baumes 17 năm trước cách đây
mục cha
commit
4cf167173f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>