New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

pattern-expresso

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pattern-expresso

Extract regex pattern from really large files.

latest
Source
npmnpm
Version
1.0.8
Version published
Maintainers
1
Created
Source

Pattern Expresso.

  • Extracts regular expression patterns from large files that can not be buffered in memory.

Install

$ npm install -g pattern-expresso

Usage pattern-expresso

Options.

  • ipv4: extract ipv4 addresses form file.
  • url: extracts url from file.
  • email: extract email from file.

Example

$ pattern-expresso large_file.txt dest_file.txt ipv4

Adding more patterns.

  • Edit Util/regex-pattern.js to add more patterns.

License

ISC © Michael Mbah

Keywords

file

FAQs

Package last updated on 21 Jul 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts