# module::RegexpObject  [![status](https://github.com/Wandalen/wRegexpObject/actions/workflows/StandardPublish.yml/badge.svg)](https://github.com/Wandalen/wRegexpObject/actions/workflows/StandardPublish.yml) [![experimental](https://img.shields.io/badge/stability-experimental-orange.svg)](https://github.com/emersion/stability-badges#experimental)

Class which encapsulates a trivial logical combination( expression ) and regular expressions which may be applied to a string to tell does that string satisfies regular expressions as well as the logic. RegexpObject provides functionality to compose, combine several instances of the class, extend it, apply to a string and other. Use it to treat multiple conditions as a single object. Refactoring required.

### Try out from the repository

```
git clone https://github.com/Wandalen/wRegexpObject
cd wRegexpObject
will .npm.install
node sample/trivial/Sample.s
```

Make sure you have utility `willbe` installed. To install willbe: `npm i -g willbe@stable`. Willbe is required to build of the module.

### To add to your project

```
npm add 'wRegexpObject@stable'
```

`Willbe` is not required to use the module in your project as submodule.

