1.2.0 • Published 4 years ago

generate-regex-from-file v1.2.0

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Purpose

Generate multiple regexes from a provided .csv file and column header.

Use

:filePath is optional, current directory is default

gen-reg :fileName :headerName :filePath(optional)

Results

Regex generated will be saved into the same filePath provided (current directory is default). This file is a json with an array of matchers objects.

These objects contain a regex property containing the generated regex and a wordMatch property containing an array of names which match the regex pattern.

Bug Note

As of this release, the first column will not work for the headerName, ensure data to generate regex is not in this first column.

1.2.0

4 years ago

1.1.1

4 years ago

1.0.2

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago