<commit_before># dom-regex
A JavaScript library for querying DOM elements with Regular Expressions.

This library is UMD wrapped so it can be used with or without a module loader such as requireJS.

## Install

```shell
npm install --save event-bundle
```

_**Note:**_ If this library is exposed directly to the window, it operates under the global variable `DomRegex`. Keep
in mind you may be in an environment (ex: webpack) that requires you explicitly expose it to the window if you intend
to use if from a window perspective.



## Example Usage
```javascript
let DomRegex = require('dom-regex');<commit_msg>Use correct package name in README<commit_after># dom-regex
A JavaScript library for querying DOM elements with Regular Expressions.

This library is UMD wrapped so it can be used with or without a module loader such as requireJS.

## Install

```shell
npm install --save dom-regex
```

_**Note:**_ If this library is exposed directly to the window, it operates under the global variable `DomRegex`. Keep
in mind you may be in an environment (ex: webpack) that requires you explicitly expose it to the window if you intend
to use if from a window perspective.



## Example Usage
```javascript
let DomRegex = require('dom-regex');
{'fraction_non_alphanumeric': 0.06924315619967794, 'fraction_numerical': 0.0, 'mean_word_length': 4.549107142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5115520', 'n_tokens_mistral': 321, 'n_tokens_neox': 306, 'n_words': 184}