C# Regex Class acts odd
Based on my understanding of Regex, the string â€œ10â€ matches the Regex â€œ^([0-9])(\\)$â€. To validate it, I tried the regex and the text â€œ10â€ on the website and it worked. But when I tried the same with C# code, it failed.Only by adding a "?", making the regex â€œ^([0-9])(\\)?$â€ makes the...
Submitted by anonymous - 8 years ago