B
bg_ie
I have the following Regex -
oldString = @"C:\ta";
Regex regexEndsInBackslash = new Regex(oldString + @"\\",
RegexOptions.Singleline | RegexOptions.IgnoreCase);
Any ideas why none of the following are true -
if (regexEndsInBackslash.Match(@"C:\ta\").Success == true)
....
if (regexEndsInBackslash.Match(@"C:\\ta\\").Success == true)
....
Thanks,
Barry.
oldString = @"C:\ta";
Regex regexEndsInBackslash = new Regex(oldString + @"\\",
RegexOptions.Singleline | RegexOptions.IgnoreCase);
Any ideas why none of the following are true -
if (regexEndsInBackslash.Match(@"C:\ta\").Success == true)
....
if (regexEndsInBackslash.Match(@"C:\\ta\\").Success == true)
....
Thanks,
Barry.