ENH: Allow numbers in username in URL regex.

This commit is contained in:
Jeffrey Baumes 2008-04-23 12:51:02 -04:00
parent 71872ac926
commit 4cf167173f
1 changed files with 1 additions and 1 deletions

View File

@ -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>