Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two expressions, same result
Message
From
15/03/2014 13:05:06
 
 
To
15/03/2014 11:07:38
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596600
Message ID:
01596605
Views:
50
>I cannot find any differences between these two expressions:
>
>([A-Za-z0-9]{1,20})-([A-Za-z0-9]{1,4})
>([A-Za-z0-9-]{1,20})-([A-Za-z0-9]{1,4})
>
>Is there one?

The second one accepts that it starts with a dash while the first one does not
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform