1
Vote

Extension Method :: LessThan()

description

Proposed adding a regular expression extention method called LessThan() that would generate the regex expression that explicitly defines all values below an upper boundary.
 
Consider the following usage:
Regex currMonthPastDays = new Regex(@"\d{1,2}").LessThan(System.DateTime.Now.Day);

comments