mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 17:49:05 +00:00
Fixed regex to allow ?
chars
This commit is contained in:
parent
40a6e6c284
commit
86102e383f
@ -371,7 +371,7 @@ def update_changelog []: nothing -> nothing {
|
|||||||
|
|
||||||
# Next, update the Changelog.Logs.cs file:
|
# Next, update the Changelog.Logs.cs file:
|
||||||
let changelog_logs_source_file = open --raw "Components/Blocks/Changelog.Logs.cs"
|
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:
|
# Save the updated file:
|
||||||
$result | save --raw --force "Components/Blocks/Changelog.Logs.cs"
|
$result | save --raw --force "Components/Blocks/Changelog.Logs.cs"
|
||||||
|
Loading…
Reference in New Issue
Block a user