예제 #1
0
 public static int[] IndexOfAll(this string Text, string pattern)
 {
     return(Boyer_Moore_MagicLen.boyerMooreMagicLen(Text.ToCharArray(), pattern.ToCharArray()));
 }
예제 #2
0
 public static int[] LastIndexOfAll(this char[] Text, char[] pattern)
 {
     return(Boyer_Moore_MagicLen.boyerMooreMagicLenRev(Text, pattern));
 }