const string numericReg = "\\d+";
const string realNumsReg = numericReg + b + "(\\." + b + numericReg + ")?";
const string b = "\\s*";
This statement is true :
private const string rte = "(?<rate>" + realNumsReg + ")" +
"(?=(?<rte1>" + b + "qs " + "))";
and
This statement is true :
private const string barl = "(?<barl>" + numericReg + ")" +
"(?=((?<q>" + b + "point to print )))";
this is true for rte :
MatchCollection s = Regex.Matches
("3000 qs / min", rte , RegexOptions.IgnoreCase);
this is true for barl:
MatchCollection s = Regex.Matches
("6 point to print ", barl , RegexOptions.IgnoreCase);
Why is this wrong?
MatchCollection s = Regex.Matches
("6 point to print 3000 qs/ min", barl+b+rte , RegexOptions.IgnoreCase);