ts-regex-builder
Version:
Maintainable regular expressions for TypeScript and JavaScript.
17 lines (16 loc) • 481 B
TypeScript
import type { EncodedRegex, RegexSequence } from '../types';
/**
* Negative lookbehind assertion.
*
* A negative lookbehind assertion is a zero-width assertion that matches a group of characters only if it is not preceded by a specific group of characters.
*
* @example
* ```ts
* negativeLookbehind("a");
* // /(?