Const
Importing tokens individually
import { oneOrMore, exactly } from 'readable-regexp';
const regExp = oneOrMore(exactly`fo`.maybe`o`);
Importing the r
prefix
import { r } from 'readable-regexp';
const regExp = r.oneOrMore(r.exactly`fo`.maybe`o`);
Generated using TypeDoc
A convenient prefix for all readable RegExp expressions, which can be used to write expressions without needing to import each token individually.