Title: fail with "yo"
Date: 8/6/2016 4:27:33 PM
This regex fails for folders simply named "yo"
Date: 4/18/2008 11:17:47 AM
Remember, when you're putting regex strings into .net, you can save a lot of headache if you make it a habit to do @"^[^\\/?*\"\'><:|]*$"
Note on the @ symbol, meaning the string is literal, and it won't try to look at any code contained inside when its being declared.
Date: 5/3/2007 5:46:48 PM
in .net the pattern translates to:
string strRegex = "^[^\\/?*\"\'><:|]*$";
Regex re = new Regex(strRegex);