public static void ClearRegexes() { if (Environment.Is64BitProcess) { NativeMethodsX64.ClearRegexes(); } else { NativeMethodsX86.ClearRegexes(); } }
public static unsafe int Matches(int regexIndex, String8Interop text, int fromTextIndex, Match2 *matches, int matchesLength, int timeoutMilliseconds) { return(Environment.Is64BitProcess ? NativeMethodsX64.Matches(regexIndex, text, fromTextIndex, matches, matchesLength, timeoutMilliseconds) : NativeMethodsX86.Matches(regexIndex, text, fromTextIndex, matches, matchesLength, timeoutMilliseconds)); }
public static int BuildRegex(String8Interop regex, int regexOptions) { return(Environment.Is64BitProcess ? NativeMethodsX64.BuildRegex(regex, regexOptions) : NativeMethodsX86.BuildRegex(regex, regexOptions)); }
public static int Test() { return(Environment.Is64BitProcess ? NativeMethodsX64.Test() : NativeMethodsX86.Test()); }