Skip to content

Refactor regex for keeping syntax to support Safari#2826

Merged
juliusknorr merged 2 commits intomasterfrom
bugfix/noid/keep-syntax-regex
Aug 25, 2022
Merged

Refactor regex for keeping syntax to support Safari#2826
juliusknorr merged 2 commits intomasterfrom
bugfix/noid/keep-syntax-regex

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