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

Refactor regex for keeping syntax to support Safari #2826

Merged
merged 2 commits into from
Aug 25, 2022

Conversation

juliusknorr
Copy link
Member

Safari does not support positive lookbehind expressions, so this PR refactors the regex matching to use capture groups.

https://caniuse.com/js-regexp-lookbehind

@juliusknorr juliusknorr added bug Something isn't working 3. to review labels Aug 24, 2022
@juliusknorr juliusknorr added this to the Nextcloud 25 milestone Aug 24, 2022
@vinicius73
Copy link
Member

/rebase

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@nextcloud-command nextcloud-command force-pushed the bugfix/noid/keep-syntax-regex branch from 150961e to ab37a1f Compare August 24, 2022 18:36
@vinicius73
Copy link
Member

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@juliusknorr juliusknorr merged commit 5b5c3e6 into master Aug 25, 2022
@delete-merged-branch delete-merged-branch bot deleted the bugfix/noid/keep-syntax-regex branch August 25, 2022 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants