lindell / lindell/JsBarcode

Error occured using JsBarcode.all.min.js and CODE128

Open
#478 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Minified version of the library raises error on generating barcode with format "CODE128". The error message:

JsBarcode.all.min.js:2 Uncaught SyntaxError: Invalid regular expression: /^[-_È-Ï]*/: Range out of order in character class

Contributor guide

Open the contributing guide

Research direction

Start by reproducing CODE128 generation with JsBarcode.all.min.js and inspect the reported regular expression around the failing minified code. Compare the minified behavior with the unminified library to identify the source of the encoding problem. Done means CODE128 generation no longer raises the regular-expression syntax error in the minified build.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.