# make-regex

> This module makes regex pattern easily.

Latest version **1.0.0** (published 2019-04-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install make-regex
pnpm add make-regex
yarn add make-regex
bun add make-regex
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-04-26 |
| First published | 2019-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 44.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Farhad Amjady |
| Maintainers | faramj |
| Keywords | regex, make-regex, regex-string, pattern |

## Links

- npm: https://www.npmjs.com/package/make-regex
- Repository: https://github.com/farhadamjady/make-regex
- Homepage: https://github.com/farhadamjady/make-regex#readme
- Issues: https://github.com/farhadamjady/make-regex/issues
- npm.io page: https://npm.io/package/make-regex

## Alternatives

- [@mce/gif](https://npm.io/package/@mce/gif.md) — 2.6K weekly downloads
- [cleanse](https://npm.io/package/cleanse.md) — 173 weekly downloads
- [str](https://npm.io/package/str.md) — 127 weekly downloads
- [naming](https://npm.io/package/naming.md) — 95 weekly downloads
- [tap-telco-api](https://npm.io/package/tap-telco-api.md) — 19 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-04-26

## README

# Make Regex
This module makes regex pattern easily.

## Install

Install with [npm](https://www.npmjs.com/):

```sh
$ npm install --save make-regex
```
    
```js

const RegMaker = require('make-regex');

let regMaker = new RegMaker('\\w+');

regMaker.make();

// It's an invalid regex just return false
let regMaker2 = new RegMaker('{2}\d');

regMaker2.make(); // It will return false.

// Empty input
let regMaker3 = new RegMaker('');

regMaker3.make(); // It will return /(?:)/g
```

### Running tests
```sh
$ node test.js
```

### License

Released under the [MIT License](LICENSE).

---
_Source: https://npm.io/package/make-regex · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
