B
Brian
i have the following regex:
Regex r = new
System.Text.RegularExpressions.Regex(@"LES_GAS[\d]{8}\-[\d]{6,7}\.DEL");
I expected it to match filenames like the following:
LES_GAS20080718-0301826.DEL
and it does....but can anyone tell me why this returns true:
bool b = r.IsMatch(@"C:\dir a\dir b\dir c\LES_GAS20080718-0301826.DEL");
it's like it just looks at the end of the string.
Regex r = new
System.Text.RegularExpressions.Regex(@"LES_GAS[\d]{8}\-[\d]{6,7}\.DEL");
I expected it to match filenames like the following:
LES_GAS20080718-0301826.DEL
and it does....but can anyone tell me why this returns true:
bool b = r.IsMatch(@"C:\dir a\dir b\dir c\LES_GAS20080718-0301826.DEL");
it's like it just looks at the end of the string.