I want the regex to check that the string starts with a letter followed by some letters, numbers or underscores. According to my regex EditPadPro parser, the next test should pass. But this is not so.
Regex.IsMatch("Class1_1", @"^\w[\w|\d|_]*$").ShouldBeTrue();
What am I missing?
source
share