351 references to Regex
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (351)
Classification\SemanticClassifierTests_Regex.cs (345)
37Regex.Anchor("$"), 38Regex.Grouping("("), 39Regex.OtherEscape("\\"), 40Regex.OtherEscape("a"), 41Regex.OtherEscape("\\"), 42Regex.OtherEscape("t"), 43Regex.OtherEscape("\\"), 44Regex.OtherEscape("u"), 45Regex.OtherEscape("0020"), 46Regex.Grouping(")"), 47Regex.Alternation("|"), 48Regex.CharacterClass("["), 49Regex.CharacterClass("^"), 50Regex.CharacterClass("\\"), 51Regex.CharacterClass("p"), 52Regex.CharacterClass("{"), 53Regex.CharacterClass("Lu"), 54Regex.CharacterClass("}"), 55Regex.Text("-a"), 56Regex.CharacterClass("\\"), 57Regex.CharacterClass("w"), 58Regex.CharacterClass("\\"), 59Regex.CharacterClass("s"), 60Regex.Text("a"), 61Regex.CharacterClass("-"), 62Regex.Text("z"), 63Regex.CharacterClass("-"), 64Regex.CharacterClass("["), 65Regex.Text("m"), 66Regex.CharacterClass("-"), 67Regex.Text("p"), 68Regex.CharacterClass("]"), 69Regex.CharacterClass("]"), 70Regex.Quantifier("+"), 71Regex.Quantifier("?"), 72Regex.Comment("(?#comment)"), 73Regex.Alternation("|"), 74Regex.Grouping("("), 75Regex.Anchor("\\"), 76Regex.Anchor("b"), 77Regex.Anchor("\\"), 78Regex.Anchor("G"), 79Regex.Anchor("\\"), 80Regex.Anchor("z"), 81Regex.Grouping(")"), 82Regex.Alternation("|"), 83Regex.Grouping("("), 84Regex.Grouping("?"), 85Regex.Grouping("<"), 86Regex.Grouping("name"), 87Regex.Grouping(">"), 88Regex.Text("sub"), 89Regex.Grouping(")"), 90Regex.Quantifier("{"), 91Regex.Quantifier("0"), 92Regex.Quantifier(","), 93Regex.Quantifier("5"), 94Regex.Quantifier("}"), 95Regex.Quantifier("?"), 96Regex.Anchor("^")); 120Regex.Anchor("$"), 121Regex.Grouping("("), 122Regex.OtherEscape("\\"), 123Regex.OtherEscape("a"), 124Regex.OtherEscape("\\"), 125Regex.OtherEscape("t"), 126Regex.OtherEscape("\\"), 127Regex.OtherEscape("u"), 128Regex.OtherEscape("0020"), 129Regex.Grouping(")"), 130Regex.Alternation("|"), 131Regex.CharacterClass("["), 132Regex.CharacterClass("^"), 133Regex.CharacterClass("\\"), 134Regex.CharacterClass("p"), 135Regex.CharacterClass("{"), 136Regex.CharacterClass("Lu"), 137Regex.CharacterClass("}"), 138Regex.Text("-a"), 139Regex.CharacterClass("\\"), 140Regex.CharacterClass("w"), 141Regex.CharacterClass("\\"), 142Regex.CharacterClass("s"), 143Regex.Text("a"), 144Regex.CharacterClass("-"), 145Regex.Text("z"), 146Regex.CharacterClass("-"), 147Regex.CharacterClass("["), 148Regex.Text("m"), 149Regex.CharacterClass("-"), 150Regex.Text("p"), 151Regex.CharacterClass("]"), 152Regex.CharacterClass("]"), 153Regex.Quantifier("+"), 154Regex.Quantifier("?"), 155Regex.Comment("(?#comment)"), 156Regex.Alternation("|"), 157Regex.Grouping("("), 158Regex.Anchor("\\"), 159Regex.Anchor("b"), 160Regex.Anchor("\\"), 161Regex.Anchor("G"), 162Regex.Anchor("\\"), 163Regex.Anchor("z"), 164Regex.Grouping(")"), 165Regex.Alternation("|"), 166Regex.Grouping("("), 167Regex.Grouping("?"), 168Regex.Grouping("<"), 169Regex.Grouping("name"), 170Regex.Grouping(">"), 171Regex.Text("sub"), 172Regex.Grouping(")"), 173Regex.Quantifier("{"), 174Regex.Quantifier("0"), 175Regex.Quantifier(","), 176Regex.Quantifier("5"), 177Regex.Quantifier("}"), 178Regex.Quantifier("?"), 179Regex.Anchor("^")); 201Regex.Anchor("$"), 202Regex.Grouping("("), 203Regex.OtherEscape("\\"), 204Regex.OtherEscape("a"), 205Regex.OtherEscape("\\"), 206Regex.OtherEscape("t"), 207Regex.OtherEscape("\\"), 208Regex.OtherEscape("u"), 209Regex.OtherEscape("0020"), 210Regex.SelfEscapedCharacter("\\"), 211Regex.SelfEscapedCharacter("\\"), 212Regex.Grouping(")"), 213Regex.Alternation("|"), 214Regex.CharacterClass("["), 215Regex.CharacterClass("^"), 216Regex.CharacterClass("\\"), 217Regex.CharacterClass("p"), 218Regex.CharacterClass("{"), 219Regex.CharacterClass("Lu"), 220Regex.CharacterClass("}"), 221Regex.Text("-a"), 222Regex.CharacterClass("\\"), 223Regex.CharacterClass("w"), 224Regex.CharacterClass("\\"), 225Regex.CharacterClass("s"), 226Regex.Text("a"), 227Regex.CharacterClass("-"), 228Regex.Text("z"), 229Regex.CharacterClass("-"), 230Regex.CharacterClass("["), 231Regex.Text("m"), 232Regex.CharacterClass("-"), 233Regex.Text("p"), 234Regex.CharacterClass("]"), 235Regex.CharacterClass("]"), 236Regex.Quantifier("+"), 237Regex.Quantifier("?"), 238Regex.Comment("(?#comment)"), 239Regex.Alternation("|"), 240Regex.Grouping("("), 241Regex.Anchor("\\"), 242Regex.Anchor("b"), 243Regex.Anchor("\\"), 244Regex.Anchor("G"), 245Regex.Anchor("\\"), 246Regex.Anchor("z"), 247Regex.Grouping(")"), 248Regex.Alternation("|"), 249Regex.Grouping("("), 250Regex.Grouping("?"), 251Regex.Grouping("<"), 252Regex.Grouping("name"), 253Regex.Grouping(">"), 254Regex.Text("sub"), 255Regex.Grouping(")"), 256Regex.Quantifier("{"), 257Regex.Quantifier("0"), 258Regex.Quantifier(","), 259Regex.Quantifier("5"), 260Regex.Quantifier("}"), 261Regex.Quantifier("?"), 262Regex.Anchor("^")); 284Regex.Anchor("$"), 285Regex.OtherEscape("\\"), 286Regex.OtherEscape("a"), 287Regex.Comment("(?#comment)")); 309Regex.Anchor("$"), 310Regex.OtherEscape(@"\\"), 311Regex.OtherEscape("a"), 312Regex.Comment("(?#comment)")); 334Regex.Anchor("$"), 335Regex.OtherEscape("\\"), 336Regex.OtherEscape("a"), 337Regex.Comment("(?#comment)")); 359Regex.Anchor("$"), 360Regex.OtherEscape("\\"), 361Regex.OtherEscape("a"), 362Regex.Comment("(?#comment)")); 384Regex.Anchor("$"), 385Regex.OtherEscape("\\"), 386Regex.OtherEscape("a"), 387Regex.Comment("(?#comment)"), 388Regex.Text(" # not end of line comment")); 410Regex.Anchor("$"), 411Regex.OtherEscape("\\"), 412Regex.OtherEscape("a"), 413Regex.Comment("(?#comment)"), 414Regex.Comment("# is end of line comment")); 436Regex.Anchor("$"), 437Regex.OtherEscape("\\"), 438Regex.OtherEscape("a"), 439Regex.Comment("(?#comment)"), 440Regex.Comment("# is end of line comment")); 463Regex.Anchor("$"), 464Regex.OtherEscape("\\"), 465Regex.OtherEscape("a"), 466Regex.Comment("(?#comment)"), 467Regex.Comment("# is end of line comment"), 492Regex.Anchor("$"), 493Regex.OtherEscape("\\"), 494Regex.OtherEscape("a"), 495Regex.Comment("(?#comment)"), 496Regex.Text(" # is not end of line comment")); 519Regex.Anchor("$"), 520Regex.OtherEscape("\\"), 521Regex.OtherEscape("a"), 522Regex.Comment("(?#comment)"), 523Regex.Text(" # is not end of line comment")); 542Regex.Anchor("$"), 543Regex.Grouping("("), 544Regex.OtherEscape("\\"), 545Regex.OtherEscape("a"), 546Regex.OtherEscape("\\"), 547Regex.OtherEscape("t"), 548Regex.OtherEscape("\\"), 549Regex.OtherEscape("u"), 550Regex.OtherEscape("0020"), 551Regex.Grouping(")")); 573Regex.Anchor("$"), 574Regex.OtherEscape("\\"), 575Regex.OtherEscape("a"), 576Regex.Comment("(?#comment)")); 598Regex.Anchor("$"), 599Regex.OtherEscape("\\"), 600Regex.OtherEscape("a"), 601Regex.Comment("(?#comment)")); 625Regex.Anchor("$"), 626Regex.OtherEscape("\\"), 627Regex.OtherEscape("a"), 628Regex.Comment("(?#comment)")); 652Regex.Anchor("$"), 653Regex.OtherEscape("\\"), 654Regex.OtherEscape("a"), 655Regex.Comment("(?#comment)")); 678Regex.Anchor("^"), 679Regex.Text(@" """" "), 680Regex.Anchor("$")); 701Regex.Anchor("^"), 702Regex.Text(@" """" "), 703Regex.Anchor("$")); 727Regex.Anchor("$"), 728Regex.OtherEscape("\\"), 729Regex.OtherEscape("a"), 730Regex.Comment("(?#comment)")); 748Regex.Anchor("$"), 749Regex.OtherEscape("\\"), 750Regex.OtherEscape("a"), 751Regex.Comment("(?#comment)")); 775Regex.Anchor("$"), 776Regex.OtherEscape("\\"), 777Regex.OtherEscape("a"), 778Regex.Comment("(?#comment)")); 796Regex.Anchor("$"), 797Regex.OtherEscape("\\"), 798Regex.OtherEscape("a"), 799Regex.Comment("(?#comment)")); 824Regex.Anchor("$"), 825Regex.OtherEscape("\\"), 826Regex.OtherEscape("a"), 827Regex.Comment("(?#comment)")); 852Regex.Anchor("$"), 853Regex.OtherEscape("\\"), 854Regex.OtherEscape("a"), 855Regex.Comment("(?#comment)")); 881Regex.Anchor("$"), 882Regex.OtherEscape("\\"), 883Regex.OtherEscape("a"), 884Regex.Comment("(?#comment)"), 885Regex.Anchor("$"), 886Regex.OtherEscape("\\"), 887Regex.OtherEscape("a"), 888Regex.Comment("(?#comment)")); 913Regex.Anchor("$"), 914Regex.OtherEscape("\\"), 915Regex.OtherEscape("a"), 916Regex.Comment("(?#comment)")); 941Regex.Anchor("$"), 942Regex.OtherEscape("\\"), 943Regex.OtherEscape("a"), 944Regex.Comment("(?#comment)")); 971Regex.Anchor("$"), 972Regex.OtherEscape("\\"), 973Regex.OtherEscape("a"), 974Regex.Comment("(?#comment)")); 1000Regex.Anchor("$"), 1001Regex.OtherEscape("\\"), 1002Regex.OtherEscape("a"), 1003Regex.Comment("(?#comment)")); 1028Regex.Anchor("$"), 1029Regex.OtherEscape("\\"), 1030Regex.OtherEscape("a"), 1031Regex.Comment("(?#comment)"), 1032Regex.Comment("# is end of line comment"), 1060Regex.Anchor("$"), 1061Regex.OtherEscape("\\"), 1062Regex.OtherEscape("a"), 1063Regex.Comment("(?#comment)")); 1094Regex.Anchor("$"), 1095Regex.OtherEscape("\\"), 1096Regex.OtherEscape("a"), 1097Regex.Comment("(?#comment)")); 1128Regex.Anchor("$"), 1129Regex.OtherEscape("\\"), 1130Regex.OtherEscape("a"), 1131Regex.Comment("(?#comment)")); 1157Regex.Anchor("$"), 1158Regex.OtherEscape("\\"), 1159Regex.OtherEscape("a"), 1160Regex.Comment("(?#comment)")); 1186Regex.Anchor("$"), 1187Regex.OtherEscape("\\"), 1188Regex.OtherEscape("a"), 1189Regex.Comment("(?#comment)")); 1215Regex.Anchor("$"), 1216Regex.OtherEscape("\\"), 1217Regex.OtherEscape("a"), 1218Regex.Comment("(?#comment)")); 1266Regex.Anchor("$"), 1267Regex.OtherEscape("\\"), 1268Regex.OtherEscape("a"), 1269Regex.Comment("(?#comment)")); 1287Regex.Anchor("$"), 1288Regex.OtherEscape("\\"), 1289Regex.OtherEscape("a"), 1290Regex.Comment("(?#comment)"));
Classification\TotalClassifierTests.cs (6)
3099Regex.Grouping("("), 3100Regex.Text("a"), 3101Regex.Grouping(")"), 3200Regex.Grouping("("), 3201Regex.Text("a"), 3202Regex.Grouping(")"),