ddrudik
asked on
RegexOptions
I have regex object:
Regex reOperation = new Regex(matchpattern);
I also have a string:
regoptions = "RegexOptions.IgnoreCase | RegexOptions.Multiline";
I would like to define the object as:
Regex reOperation = new Regex(matchpattern,regopti ons);
Or in some similar fashion where regoptions is a dynamic string containing the desired RegexOptions.
Regex reOperation = new Regex(matchpattern);
I also have a string:
regoptions = "RegexOptions.IgnoreCase | RegexOptions.Multiline";
I would like to define the object as:
Regex reOperation = new Regex(matchpattern,regopti
Or in some similar fashion where regoptions is a dynamic string containing the desired RegexOptions.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Not a problem, glad I was able to help. ;=)
ASKER