import { OptionSpec } from './spec'; /** * Searches with JavaScript's own RegExp instead of the POSIX engine. * * NOT a less option — less has no such switch, because less has no such * choice: it links whatever regcomp its libc ships and that is the end * of it. This exists so the two engines can be compared from one * binary, and because a JS RegExp is the faster of the two on patterns * it can express. * * Turning it on changes the LANGUAGE, not just the implementation: * `a|ab` matches "a" rather than the longer "ab", `[[:alpha:]]` stops * being a character class, `\d` becomes a digit again rather than the * letter, and a pattern like `(a+)+b` can hang the engine outright. */ export declare const useJsRegexp: OptionSpec;