Skip to content

callstack/ts-regex-builder

Repository files navigation

TS Regex Builder

TypeScript adaptation of Swift Regex Builder API.

Installation

npm install ts-regex-builder

Usage

import { buildRegex, oneOrMore } from 'ts-regex-builder';

// /(Hello)+ World/
const regex = buildRegex(oneOrMore('Hello '), 'World');

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

See the project guidelines to understand our core principles.

License

MIT

Reference


Made with create-react-native-library