issues Search Results · repo:unjs/magic-regexp language:TypeScript
Filter by
51 results
(66 ms)51 results
inunjs/magic-regexp (press backspace or delete to remove)While working on magic-regexp project, I identified a DOM-based XSS vulnerability in the vue-i18n package (this
dependency used by magic-regexp) . This issue is tied to the escapeParameterHtml setting, ...
ankitdn
- Opened 5 days ago
- #597
🐛 The bug
From https://regexp.dev/guide/usage :
By default, […] input […] is […] escaped - so […] createRegExp( foo?\d ) will not match food3 but only foo?\d exactly.
This example doesn t give any useful ...
bug
mk-pmb
- Opened on May 12
- #564
🐛 The bug
When maybe() contains named capture groups (created via .as()), magic-regexp fails to correctly wrap the entire content
of maybe() as a non-capturing group and make it optional. Instead, it ...
bug
good first issue
cdwmhcc
- 1
- Opened on Apr 26
- #549
🆒 Your use case
When working with simple character classes, I often find myself wanting to directly use traditional regex notation.
For example, I need to match any of whitespace, dash, or underscore ...
enhancement
cdwmhcc
- 5
- Opened on Apr 25
- #548
🆒 Character Range Issues
| Description | Current | Generated Pattern | Expected Pattern |
| --- | --- | --- | --- |
| Number Range | charIn( 1-9 ) | /[1\-9]/ | /[1-9]/ |
| Alternatives | charIn( 123456789 ...
enhancement
cdwmhcc
- 2
- Opened on Mar 29
- #527
🐛 The bug
The Main Site https://regexp.dev/
returns a 500 Cannot read properties of null (reading map )
🛠️ To reproduce
https://regexp.dev/
🌈 Expected behaviour
Working Site
ℹ️ Additional context ...
bug
js-mpa
- Opened on Mar 12
- #514
🐛 The bug
When building the docs, I get the error The requested module
file:///Users/ezra/Projects/OSS/magic-regexp/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/index.mjs does not
provide an ...
bug
Eazash
- Opened on Mar 10
- #513
📚 Is your documentation request related to a problem?
When I go to regex.dev I get this:
500
Error
Cannot read properties of null (reading map )
🔍 Where should you find it?
Home page
ℹ️ Additional ...
documentation
aparajita
- 2
- Opened on Mar 8
- #508
🐛 The bug
The maybe() helper sometimes return wrong value.
For example:
import { createRegExp, exactly, maybe } from magic-regexp ;
const regexp = createRegExp(maybe(exactly( a ).or( b ), exactly( ...
bug
Taib-Rabah
- Opened on Mar 3
- #505
📚 Is your documentation request related to a problem?
the build.config.ts form https://regexp.dev/guide has some typeerrors.
import { MagicRegExpTransformPlugin } from magic-regexp/transform
import ...
documentation
OrbisK
- 1
- Opened on Feb 27
- #502

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.