Skip to content

Commit

Permalink
Fix: Add regex delimiters to schema_filter to prevent preg_match errors
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
daifma authored and ostrolucky committed May 3, 2024
1 parent b96679a commit 75b7c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration.rst
Expand Up @@ -883,7 +883,7 @@ can configure. The following block shows all possible configuration keys:
logging: "%kernel.debug%"
platform_service: MyOwnDatabasePlatformService
auto_commit: false
schema_filter: ^sf2_
schema_filter: /^sf2_/
mapping_types:
enum: string
types:
Expand Down

0 comments on commit 75b7c11

Please sign in to comment.