Example #1
0
 protected CharClass(BitArray bitArray)
 {
     matches = bitArray;
     if (bitArray.BitCount() > (MatchArraySize >> 1))
     {
         Flip();
     }
 }
Example #2
0
 public CharClass(string value)
 {
     matches = new BitArray(MatchArraySize);
     Set(value);
 }
Example #3
0
 public CharClass(Segment s)
     : base(s)
 {
     matches = new BitArray(MatchArraySize);
 }
Example #4
0
 public CharClass(CharClass ch)
     : base(ch)
 {
     matches = new BitArray(ch.matches);
     invert  = ch.invert;
 }
Example #5
0
 public CharClass()
 {
     matches = new BitArray(MatchArraySize);
 }