effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.getTemplateLiteralCapturingRegExp

Generates a regular expression that captures the pattern defined by the given TemplateLiteral AST.

See

Signature

declare const getTemplateLiteralCapturingRegExp: (ast: TemplateLiteral) => RegExp

Source

Since v3.10.0