Skip to content

areknawo/Rex

Repository files navigation

ReX.js

Your RegEx companion.

GitHub Travis (.org) Coveralls github Gitter npm bundle size (minified + gzip) code style: prettier Twitter URL

The JS Library for writting complex RegExps with help of autocompletion!

import { Matcher } from '@areknawo/rex'

// Trivia example of usage
const expr = new Matcher()
.find('Reg')
.whitespace()
.capture((expr) => {
  expr.find('Exp')
}).test('Reg Exp'); //true

More information can be found on https://areknawo.github.io/Rex.