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

fix: invalid Svelte regex (#995) #1001

Merged
merged 1 commit into from
Aug 30, 2023
Merged

fix: invalid Svelte regex (#995) #1001

merged 1 commit into from
Aug 30, 2023

Conversation

ZerdoX-x
Copy link
Contributor

@ZerdoX-x ZerdoX-x commented Aug 30, 2023

Resolves #995

Fix invalid regex introduced in #826

I screwed up with with the syntax :)
For some reason you need to use double backslash \ to escape symbols like ( and s.
That differs from usual regex syntax that regexper accepts for example.

@terales terales merged commit fe4e464 into lokalise:main Aug 30, 2023
3 checks passed
@terales
Copy link
Collaborator

terales commented Aug 30, 2023

Thank you, @ZerdoX-x! I've pushed a hotfix release

@multipliedtwice
Copy link

@terales svelte-intl-precompile stopped working. Rolled back to 1 year ago version.

@ZerdoX-x
Copy link
Contributor Author

@multipliedtwice Probably you mean #1003? You can track progress there and in #1013

@ZerdoX-x ZerdoX-x changed the title fix: invalid Svelte regex fix: invalid Svelte regex (#995) Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

SyntaxError: Invalid regular expression (svelte)
3 participants