JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10676531
  • Score
    100M100P100Q213786F
  • License MIT

A module that parses a string as regular expression and returns the parsed value.

Package Exports

  • regex-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (regex-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

regex-parser

Patreon PayPal AMA Version Downloads Get help on Codementor

A module that parses a string as regular expression and returns the parsed value.

☁️ Installation

$ npm i --save regex-parser

📋 Example

// Dependencies
var RegexParser = require("regex-parser");

console.log(RegexParser("/^hi$/g"));
// => /^hi$/g

📝 Documentation

RegexParser(input)

Parses a string input.

Params

  • String input: The string input that should be parsed as regular expression.

Return

  • RegExp The parsed regular expression.

😋 How to contribute

Have an idea? Found a bug? See how to contribute.

💰 Donations

Another way to support the development of my open-source modules is to set up a recurring donation, via Patreon. 🚀

PayPal donations are appreciated too! Each dollar helps.

Thanks! ❤️

💫 Where is this library used?

If you are using this library in one of your projects, add it in this list. ✨

  • adjust-sourcemap-loader (by bholloway)—Webpack loader that adjusts source maps
  • bible—Read the Holy Bible via the command line.
  • bible.js—The Bible as a NPM module.
  • gene-js (by nicosommi)—a gdd utility
  • leadconduit-custom (by Alex Wolfe)—LeadConduit custom integration
  • starts-with-emoji—Check if a string starts with an emoji.
  • statique—A Node.JS static server module with built-in cache options and route features.
  • tpipe (by nicosommi)—piper

📜 License

MIT © Ionică Bizău