Skip to content

Commit 75b7c11

Browse files
daifmaostrolucky
authored andcommitted
Fix: Add regex delimiters to schema_filter to prevent preg_match errors
This commit adds necessary delimiters to regular expressions used in schema_filter configurations, preventing the 'No ending delimiter' error in preg_match. It improves the error handling by ensuring that regular expressions are always correctly formatted.
1 parent b96679a commit 75b7c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ can configure. The following block shows all possible configuration keys:
883883
logging: "%kernel.debug%"
884884
platform_service: MyOwnDatabasePlatformService
885885
auto_commit: false
886-
schema_filter: ^sf2_
886+
schema_filter: /^sf2_/
887887
mapping_types:
888888
enum: string
889889
types:

0 commit comments

Comments
 (0)