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: 2 days ago
JSON representation
Your RegEx companion.
- Host: GitHub
- URL: https://github.com/areknawo/rex
- Owner: areknawo
- License: mit
- Created: 2018-11-19T17:39:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-24T00:05:52.000Z (4 months ago)
- Last Synced: 2025-01-12T14:04:19.188Z (9 days ago)
- Topics: chainable, functional, helper, javascript, js, library, regex, regex-companion, regexp, regular-expression, rex, rexjs, tool, ts, typescript
- Language: TypeScript
- Homepage: https://areknawo.github.io/Rex
- Size: 2.56 MB
- Stars: 287
- Watchers: 4
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
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.***