A ValueChanger.Splitter that splits a line of text using a regular expression, returning one value per match.

Namespace:  BioSharp.Core.Bio.Program.TagValue
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
public class RegexSplitter : ChangeTable..::.ISplitter

Remarks

A list of values is generated by effectively executing:

CopyC#
matcher = pattern.matcher(value.toString());

while(matcher.find())
{
  values.add(matcher.group(matchGroup);
}

Original BioJava version by Matthew Pocock. Port to C# by Doug Swisher.

Inheritance Hierarchy

System..::.Object
  BioSharp.Core.Bio.Program.TagValue..::.RegexSplitter

See Also