Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Invalid regular expression: /^[ -퟿-�𐀀-􏿿]$/: Range out of order in character class #1276

Closed
Subhajitdas298 opened this issue May 15, 2020 · 8 comments

Comments

@Subhajitdas298
Copy link
Contributor

Subhajitdas298 commented May 15, 2020

🐛 Bug Report

exceljs.min.js:18 Uncaught SyntaxError: Invalid regular expression: /^[

-퟿-��-�]$/: Range out of order in character class
at new RegExp ()
at Object.508 (exceljs.min.js:18)
at i (exceljs.min.js:3)
at exceljs.min.js:3
at Object.467.xmlchars/xml/1.0/ed5 (exceljs.min.js:10)
at i (exceljs.min.js:3)
at exceljs.min.js:3
at Object.19.readable-stream (exceljs.min.js:3)
at i (exceljs.min.js:3)
at exceljs.min.js:3

Lib version: 3.9.0

Steps To Reproduce

Just loading the page creates the error, with minified js.

The expected behaviour:

This error should not come

@Alanscut
Copy link
Member

@Subhajitdas298 This problem does not appear in my project, you can try the following.

yarn remove exceljs
yarn add exceljs -S

@Subhajitdas298
Copy link
Contributor Author

@Subhajitdas298 This problem does not appear in my project, you can try the following.

yarn remove exceljs
yarn add exceljs -S

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build.

@Alanscut
Copy link
Member

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build

Is your problem solved now 😄?

@Subhajitdas298
Copy link
Contributor Author

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build

Is your problem solved now 😄?

No. As I explained, error is there. I just explained my process of building. How do you build?

@Subhajitdas298
Copy link
Contributor Author

Subhajitdas298 commented May 17, 2020

Fixed issue in pull request:#1280
Waiting acceptance

@Subhajitdas298
Copy link
Contributor Author

No using yarn. Directly building from release sources. Then npm install. And then npm run clean-build

Is your problem solved now 😄?

Please review my commit for the fix. Thanks

@alubbe alubbe closed this as completed in 1e2554d May 20, 2020
alubbe added a commit that referenced this issue May 20, 2020
@xiaoliuzi955
Copy link

excuse me,should i rebuild the source code and replace exceljs/dist to solve the problem? expect for ur answer,thx

@SeoWooSoft
Copy link

"I've created a web page using exceljs, and it works fine in Korea, China, and Europe, but the same error occurs only in the US: exceljs.min.js:24 Uncaught SyntaxError: Invalid regular expression:." how can i solve?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants