Skip to content

Conversation

gy-mate
Copy link

@gy-mate gy-mate commented Jun 10, 2025

📑 Summary

Regex match Unicode Letter characters instead of [A-Za-z] when editing a flowchart.

Resolves #1657.

📏 Design Decisions

Matching all Unicode letters improves rendering accented non-English characters.

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added unit/e2e tests (if appropriate)
  • 🔖 targeted develop branch

Copy link

netlify bot commented Jun 10, 2025

Deploy Preview for mermaidjs ready!

Name Link
🔨 Latest commit a31381d
🔍 Latest deploy log https://app.netlify.com/projects/mermaidjs/deploys/68483b8299b92e000897170a
😎 Deploy Preview https://deploy-preview-1737--mermaidjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@gy-mate
Copy link
Author

gy-mate commented Jun 10, 2025

When opening the deploy preview in the comment above, the following error is thrown:

[Error] SyntaxError: Invalid regular expression: incomplete {} quantifier for Unicode pattern

Unfortunately I couldn't find the root cause of this. If somebody could help me, I'd be really grateful!

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

Successfully merging this pull request may close these issues.

Code editor: accented characters have the wrong color

1 participant