Skip to content

[#2107] Fix Safari bug cause by unsupported lookbehind assertion #2108

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

Merged
merged 1 commit into from
May 25, 2022

Conversation

julianguyen
Copy link
Member

Description

Internationalization (i18n) rendered in the React front-end is not loading in Safari because the browser does not support the lookbehind assertion that is used in the Regex pattern.

This PR fixes this issue by updating the Regex.

Thanks to @decisivewaffles for creating a bug ticket!

Corresponding Issue

#2107

Screenshots

Before

image

After

image


Reviewing this pull request? Check out our Code Review Practices guide if you haven't already!

@julianguyen julianguyen changed the title Fix Safari bug cause by unsupported lookbehind assertion [#2107] Fix Safari bug cause by unsupported lookbehind assertion May 25, 2022
@julianguyen julianguyen merged commit 30c7e6d into main May 25, 2022
@delete-merged-branch delete-merged-branch bot deleted the fix-regex-not-support-in-safari-bug branch May 25, 2022 00:51
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.

1 participant