10 references to RegularExpressions
Microsoft.Build (10)
Evaluation\Expander.cs (10)
955result = RegularExpressions.ItemMetadataPattern.Value.Replace(expression, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata)); 986string replacementResult = RegularExpressions.NonTransformItemMetadataPattern.Value.Replace(subExpressionToReplaceIn, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata)); 994vectorExpression = RegularExpressions.NonTransformItemMetadataPattern.Value.Replace(itemVectorExpressions[n].Value, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata), -1, itemVectorExpressions[n].SeparatorStart); 1011string replacementResult = RegularExpressions.NonTransformItemMetadataPattern.Value.Replace(subExpressionToReplaceIn, new MatchEvaluator(matchEvaluator.ExpandSingleMetadata)); 1079string metadataName = itemMetadataMatch.Groups[RegularExpressions.NameGroup].Value; 1083if (itemMetadataMatch.Groups[RegularExpressions.ItemSpecificationGroup].Length > 0) 1085itemType = itemMetadataMatch.Groups[RegularExpressions.ItemTypeGroup].Value; 2722include = RegularExpressions.ItemMetadataPattern.Value.Replace(arguments[0], matchEvaluator.GetMetadataValueFromMatch); 3053string name = match.Groups[RegularExpressions.NameGroup].Value; 3055ProjectErrorUtilities.VerifyThrowInvalidProject(match.Groups[RegularExpressions.ItemSpecificationGroup].Length == 0, _elementLocation, "QualifiedMetadataInTransformNotAllowed", match.Value, name);