Generates Oniguruma pattern and flags strings from an OnigurumaAst.
import {generate} from 'oniguruma-parser/generator';function generate(ast: OnigurumaAst): {
pattern: string;
flags: string;
};Created by Steven Levithan and contributors.
If you want to support this project, I'd love your help by contributing improvements (guide), sharing it with others, or sponsoring ongoing development.
MIT License.