Skip to content

fix: escape regex control character#2468

Closed
everettbu wants to merge 3 commits into
masterfrom
fix/clean-regex
Closed

fix: escape regex control character#2468
everettbu wants to merge 3 commits into
masterfrom
fix/clean-regex

Conversation

@everettbu

Copy link
Copy Markdown

Mirror of supabase/supabase#43806
Original author: staaldraad


I have read the CONTRIBUTING.md file.

YES

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

regex control character, . is not escaped.

What is the new behavior?

Escapes control characters and makes regex a little stricter. Use regex literal

@github-actions

github-actions Bot commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results

passed  156 passed
skipped  5 skipped

Details

stats  161 tests across 20 suites
duration  2 minutes, 49 seconds
commit  d0327d4

Skipped tests

Features › assistant.spec.ts › AI Assistant › Can send a message to the assistant and receive a response
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@everettbu

Copy link
Copy Markdown
Author

Upstream PR was closed or merged. Code is synced via branch mirror.

@everettbu everettbu closed this Mar 17, 2026
@everettbu everettbu deleted the fix/clean-regex branch March 17, 2026 16:12
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.

2 participants