0.0.2 • Published 5 years ago
regeng v0.0.2
Regeng-js (WIP)
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.