Install @stackline/regex-parser
npm install @stackline/[email protected]Package version: 1.0.2. Metadata verified: 2026-11-12. This is separate from the framework version and demonstration runtime.
- Node.js requirement
- {}
- Accepted peer dependencies (declared ranges)
- {}
Tested environments are described in the versioned README and linked source checks. A declared peer range is not evidence that every version in it was tested.
Versioned reference
This reference comes from the published @stackline/[email protected] README. Its upstream attribution and license remain with the source. Benchmark and security statements describe the cited tests and advisories, not a guarantee for every application.
@stackline/regex-parser
A module that parses a string as regular expression and returns the parsed value.
Documentation | npm | Issues | Repository
Current package version: 1.0.2
Why this package?
@stackline/regex-parser is the Stackline-maintained distribution of [email protected]. It is an independent continuation of regex-parser; original authors and licenses remain credited below.
Compatibility
| Item | Value |
|---|---|
| Package | @stackline/[email protected] |
| API target | [email protected] |
| Supported Node.js | See supported framework requirements |
| License | MIT |
| Main entry | lib/index.js |
| Types | lib/typings/regex-parser.d.ts |
| Runtime dependencies | none |
Installation
npm install @stackline/regex-parser
Preserve existing imports and plugin resolution with an npm alias:
npm install regex-parser@npm:@stackline/regex-parser
Usage and API reference
regex-parser
A module that parses a string as regular expression and returns the parsed value.
:cloud: Installation
# Using npm
npm install --save @stackline/regex-parser
# Using yarn
yarn add @stackline/regex-parser
:clipboard: Example
// Dependencies
var RegexParser = require("@stackline/regex-parser");
console.log(RegexParser("/^hi$/g"));
// => /^hi$/g
:question: Get Help
There are few ways to get help:
- Please post questions on Stack Overflow. You can open issues with questions, as long you add a link to your Stack Overflow question.
- For bug reports and feature requests, open issues. :bug:
- For direct and quick help, you can use Codementor. :rocket:
:memo: 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.
:yum: How to contribute
Have an idea? Found a bug? See how to contribute.
:sparkling_heart: Support my projects
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can integrate and use these projects in your applications for free! You can even change the source code and redistribute (even resell it).
However, if you get some profit from this or just want to encourage me to continue creating stuff, there are few ways you can do it:
- Starring and sharing the projects you like :rocket:
- —I love books! I will remember you after years if you buy me one. :grin: :book:
- —You can make one-time donations via PayPal. I'll probably buy a ~~coffee~~ tea. :tea:
- —Set up a recurring monthly donation and you will get interesting news about what I'm doing (things that I don't share with everyone).
- Bitcoin—You can send me bitcoins at this address (or scanning the code below):
1P9BRsmazNQcuyTxEqveUsnf5CERdq35V6
Thanks! :heart:
:scroll: License
Credits and original authors
- Original project: regex-parser.
- Ionică Bizău.
- Copyright (c) 2014-25 Ionică Bizău [email protected] (https://ionicabizau.net).
- Stackline maintenance: Alexandro Paixao Marques and Stackline contributors.
Original copyright, license notices and contributor acknowledgements remain part of this distribution. Stackline maintenance does not replace authorship of the original work.
License
MIT. See the license and notice files in the repository.
Community and Links
Use this repository's issue tracker for reproducible bugs and feature requests. Join r/Stackline for examples, usage questions and release discussions.