Skip to content

LucHighwalker/regeng-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A typescript port of my ruby gem 'regeng'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published