private bool IsUnit(TextParser p) { var isRegionContent = p.OneOf( x => x.Match("-"), x => x.Match("*") ); p.Reset(); return(isRegionContent); }