fent / fent/randexp.js

Cyrillic characters don't work

Open
#93 7 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
JavaScript
Stars
1.9k
Forks
94
PR merge metrics
No merged PRs in 30d

Description

Regular expressions with cyrillic characters (e.g. `[А-Я]{1,5}[а-я]{5,10}`) don't work in the latest version. The last version it used to work in is 0.4.6.

This reproduces the issue: https://codesandbox.io/s/randexp-cyrillic-issue-2kcou

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the linked CodeSandbox reproduction and compare its behavior with version 0.4.6 and the latest version. Trace how Cyrillic character ranges are handled in regular-expression generation. Done means the example pattern produces strings matching the requested Cyrillic ranges again.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.