Skip to content

Replace SubstringOrRegexPattern with an IStringOrRegexMatcher #3560

@jamescrosswell

Description

@jamescrosswell

We have a better abstraction for this now:

// TODO: This class can be replaced with an implementation of IStringOrRegexMatcher in the next major version bump.
/// <summary>
/// Provides a pattern that can be used to match against other strings as either a substring or regular expression.
/// </summary>
[TypeConverter(typeof(SubstringOrRegexPatternTypeConverter))]
public class SubstringOrRegexPattern

Metadata

Metadata

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions