10 references to RegularExpressions
Microsoft.Build (10)
Evaluation\Expander.cs (10)
957result = RegularExpressions.ItemMetadataRegex.Replace(expression, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata)); 988string replacementResult = RegularExpressions.NonTransformItemMetadataRegex.Replace(subExpressionToReplaceIn, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata)); 996vectorExpression = RegularExpressions.NonTransformItemMetadataRegex.Replace(itemVectorExpressions[n].Value, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata), -1, itemVectorExpressions[n].SeparatorStart); 1013string replacementResult = RegularExpressions.NonTransformItemMetadataRegex.Replace(subExpressionToReplaceIn, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata)); 1081string metadataName = itemMetadataMatch.Groups[RegularExpressions.NameGroup].Value; 1085if (itemMetadataMatch.Groups[RegularExpressions.ItemSpecificationGroup].Length > 0) 1087itemType = itemMetadataMatch.Groups[RegularExpressions.ItemTypeGroup].Value; 2724include = RegularExpressions.ItemMetadataRegex.Replace(arguments[0], matchEvaluator.GetMetadataValueFromMatch); 3055string name = match.Groups[RegularExpressions.NameGroup].Value; 3057ProjectErrorUtilities.VerifyThrowInvalidProject(match.Groups[RegularExpressions.ItemSpecificationGroup].Length == 0, _elementLocation, "QualifiedMetadataInTransformNotAllowed", match.Value, name);