regeng

0.0.2 • Public • Published

Regeng-js (WIP)

npm version Build Status

Regeng or regular english, is a npm package which aims to allow the generation of regular expressions using plain english. This is a javascript port of my ruby gem of the same name.

Installation

npm install regeng

Usage

const Regeng = require 'regeng';

const reg = new Regeng('any letter between e and z');

console.log(reg.plain)
// any letter between e and z

console.log(reg.re)
// /[e-z]/

More examples in the Documentation

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/LucHighwalker/regeng-js.

License

This package is available as open source under the terms of the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i regeng

Weekly Downloads

0

Version

0.0.2

License

ISC

Unpacked Size

73.7 kB

Total Files

21

Last publish

Collaborators

  • highwalker