Class FluentRegex
- Namespace
- Dynamitey
- Assembly
- Dynamitey.Community.dll
Extension Methods for fluent Regex
public static class FluentRegex
- Inheritance
-
FluentRegex
- Inherited Members
Methods
FluentFilter(IEnumerable<string>, Regex)
Fluents the filter.
[RequiresDynamicCode("Constructs a RegexMatch, which instantiates System.Dynamic.DynamicObject; requires the DLR's runtime code generation and is not supported when AOT-compiled.")]
public static IEnumerable<dynamic> FluentFilter(this IEnumerable<string> list, Regex regex)
Parameters
listIEnumerable<string>The list.
regexRegexThe regex.
Returns
FluentMatch(Regex, string)
Fluents the match.
[RequiresDynamicCode("Constructs a RegexMatch, which instantiates System.Dynamic.DynamicObject; requires the DLR's runtime code generation and is not supported when AOT-compiled.")]
public static dynamic? FluentMatch(this Regex regex, string inputString)
Parameters
Returns
- dynamic
FluentMatches(Regex, string)
Fluents the matches.
[RequiresDynamicCode("Forwards to Matches, which constructs a RegexMatch; requires the DLR's runtime code generation and is not supported when AOT-compiled.")]
public static IEnumerable<dynamic> FluentMatches(this Regex regex, string inputString)
Parameters
Returns
Match(string, Regex)
Matches the specified input string.
[RequiresDynamicCode("Constructs a RegexMatch, which instantiates System.Dynamic.DynamicObject; requires the DLR's runtime code generation and is not supported when AOT-compiled.")]
public static dynamic? Match(string inputString, Regex regex)
Parameters
Returns
- dynamic
Matches(string, Regex)
Matches the specified input string.
[RequiresDynamicCode("Constructs a RegexMatch, which instantiates System.Dynamic.DynamicObject; requires the DLR's runtime code generation and is not supported when AOT-compiled.")]
public static IEnumerable<dynamic> Matches(string inputString, Regex regex)