New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

regexp-utils

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

regexp-utils - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

index.js

@@ -34,3 +34,3 @@ "use strict";

*/
RU.makeGroupsUncapturing = function (re) {
RU.makeGroupsNonCapturing = function (re) {
// Make capturing groups non-capturing

@@ -75,3 +75,3 @@ var match = re.match(OPEN_GROUP);

matchers[i] = re;
reBit = RU.makeGroupsUncapturing(RU.toSource(re));
reBit = RU.makeGroupsNonCapturing(RU.toSource(re));
} else {

@@ -78,0 +78,0 @@ reBit = RU.escapeRegExp(re);

{
"name": "regexp-utils",
"version": "0.1.0",
"version": "0.1.1",
"description": "RegExp related utilities",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,1 +5,9 @@ regexp-utils

A collection of a few regexp utilities.
- isRegExp
- toSource
- escapeRegExp
- makeGroupsNonCapturing
- makeRegExpSwitch
See [index.js](https://github.com/gwicke/regexp-utils/blob/master/index.js).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc