From 52f629cee77e95611ab083e68f4cea6c34c18412 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6ran=20Karl?= <3951388+JoeKar@users.noreply.github.com> Date: Sun, 31 Aug 2025 18:58:15 +0200 Subject: [PATCH] syntax: Fix invalid escape of `'` in php --- runtime/syntax/php.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/syntax/php.yaml b/runtime/syntax/php.yaml index 8e57b8ca..eb8cbdc7 100644 --- a/runtime/syntax/php.yaml +++ b/runtime/syntax/php.yaml @@ -53,8 +53,8 @@ rules: rules: - constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]" - constant.string: - start: "\'" - end: "\'" + start: "'" + end: "'" skip: "\\\\." rules: - constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"