Feeds
9704 items (9656 unread) in 4 feeds
The Code Project Latest Articles
-
Posted: February 20th, 2012, 4:44pm UTC
How about transforming first into a Regex and then letting the Regex do the work? E.g.:public static Regex GetRegex(string wildcard){ string pattern = Regex.Replace(wildcard, @"([^?*]+)?([?*])?", m => Regex.Escape(m.Groups[1].Value) +...