Fixed regex to allow ? chars

This commit is contained in:
tsommer committed 2024-06-02 21:04:44 +02:00
1 parent 40a6e6c284
commit 86102e383f
1 file changed
+1 -1
+1 -1
View File
@@ -371,7 +371,7 @@ def update_changelog []: nothing -> nothing {
# Next, update the Changelog.Logs.cs file:
let changelog_logs_source_file = open --raw "Components/Blocks/Changelog.Logs.cs"
let result = $changelog_logs_source_file | str replace --regex '(?ms)LOGS =\s+\[[\w\s".,-:()]+\];' $code
let result = $changelog_logs_source_file | str replace --regex '(?ms)LOGS =\s+\[[\w\s".,-:()?]+\];' $code
# Save the updated file:
$result | save --raw --force "Components/Blocks/Changelog.Logs.cs"