eslint-plugin-regexp icon indicating copy to clipboard operation
eslint-plugin-regexp copied to clipboard

ESLint plugin for finding regex mistakes and style guide violations.

Results 18 eslint-plugin-regexp issues
Sort by recently updated
recently updated
newest added

**Information:** - ESLint version: 8.29.0 - `eslint-plugin-regexp` version: 1.11.0 **Description** The following case reports that RegExp#exec() should be changed ```typescript protected readonly PATH_REGEXP: RegExp = /^.*\//g; protected getLogPath(filepath: string): string...

enhancement
help wanted

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | mcr.microsoft.com/devcontainers/typescript-node | image | major | `0-18` -> `1-18` | ---...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`^8.44.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/eslint/8.57.0/9.2.0) |...

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@ota-meshi/eslint-plugin](https://togithub.com/ota-meshi/eslint-plugin) | [`^0.15.1` -> `^0.17.0`](https://renovatebot.com/diffs/npm/@ota-meshi%2feslint-plugin/0.15.1/0.17.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@ota-meshi%2feslint-plugin/0.17.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

**Information:** - ESLint version: 8.57.0 - `eslint-plugin-regexp` version: 2.5.0 **Description** Current regex is `/^(?!.*(?=.*-)(?=.*,)).*$/` (disallow usage of both comma and dash). ```js /^(?!.*(?=.*-)(?=.*,)).*$/.test('1,2-3'); // false ✓ ``` I got 3...

bug

This PR removes intl-segmenter-polyfill. intl-segmenter-polyfill was used on our site. This is because Intl.Segmenter did not work in FireFox. However, FireFox now supports Intl.Segmenter, so intl-segmenter-polyfill is no longer needed....

**Information:** - ESLint version: v8.48.0 - `eslint-plugin-regexp` version: v2.2.0 **Description** ```js new RegExp('[\\.]') ``` It's definitely different with `new RegExp('[\.]')`.

enhancement