Filters files by content matching a regular expression.
public static System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IFileNode> ContainingPattern(this System.Collections.Generic.IEnumerable<Atypical.VirtualFileSystem.Core.Contracts.IFileNode> files, string pattern, System.Text.RegularExpressions.RegexOptions options=System.Text.RegularExpressions.RegexOptions.IgnoreCase);files System.Collections.Generic.IEnumerable<IFileNode>
The files to filter.
pattern System.String
The regular expression pattern.
options System.Text.RegularExpressions.RegexOptions
Regular expression options. Default is IgnoreCase.
System.Collections.Generic.IEnumerable<IFileNode>
Files with content matching the pattern.