
Research
PyPI Package Impersonates SymPy to Deliver Cryptomining Malware
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.
Regular expression for matching file extensions. Matches single and/or multiple file extensions, like `.min.js`.
Regular expression for matching file extensions. Matches single and/or multiple file extensions, like
.min.js.
npm i ext-regex --save
var extRegex = require('ext-regex');
'a/b/c.min.js'.match(extRegex());
//=> ['.min.js', '.js', 'js'];
'a/b/c/.gitignore'.match(extRegex());
//=> ['.gitignore', '.gitignore', 'gitignore']
'a/b/c'.match(extRegex());
//=> null
'a/b/c.js'.test(extRegex());
//=> true
Install dev dependencies:
node i -d && mocha
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb on January 12, 2015.
FAQs
Regular expression for matching file extensions. Matches single and/or multiple file extensions, like `.min.js`.
We found that ext-regex demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Research
Malicious PyPI package sympy-dev targets SymPy users, a Python symbolic math library with 85 million monthly downloads.

Product
Create and share saved alert views with custom tabs on the org alerts page, making it easier for teams to return to consistent, named filter sets.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.