Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/areknawo/Rex

Your RegEx companion.
https://github.com/areknawo/Rex

chainable functional helper javascript js library regex regex-companion regexp regular-expression rex rexjs tool ts typescript

Last synced: about 1 month ago
JSON representation

Your RegEx companion.

Lists

README

        

# ReX.js
***Your RegEx companion.***

![GitHub](https://img.shields.io/npm/l/@areknawo/rex.svg?style=for-the-badge)
[![Travis (.org)](https://img.shields.io/travis/areknawo/Rex.svg?style=for-the-badge)](https://travis-ci.com/areknawo/Rex)
[![Coveralls github](https://img.shields.io/coveralls/github/areknawo/Rex.svg?style=for-the-badge)](https://coveralls.io/github/areknawo/Rex)
[![Gitter](https://img.shields.io/gitter/room/:user/:repo.svg?style=for-the-badge)](https://gitter.im/ReX-js/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
[![npm bundle size (minified + gzip)](https://img.shields.io/bundlephobia/minzip/@areknawo/rex.svg?style=for-the-badge)](https://bundlephobia.com/result?p=@areknawo/rex)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier)
[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=for-the-badge)](https://twitter.com/intent/tweet?url=https%3A%2F%2Fareknawo.github.io%2FRex&via=areknawo&text=ReX.js%20-%20Your%20RegEx%20companion%21&hashtags=regexp%2Cjavascript%2Ctypescript%2Cprogramming%2Cweb%2Cdev)

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

```javascript
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.***