Skip to content

Commit

Permalink
Update pre-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
victorliu5296 committed Oct 19, 2024
1 parent 5c06620 commit f3197d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pre-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ replace_delimiters() {
/gse;
# # Double-escape delimiters if not already double-escaped
# s/(?<!\\\\)\\\(/\\\\(/g;
# s/(?<!\\\\)\\\)/\\\\)/g;
# s/(?<!\\\\)\\\[/\\\\[/g;
# s/(?<!\\\\)\\\]/\\\\]/g;
s/(?<!\\\\)\\\(/\\\\\(/g; # Escape \( to \\(
s/(?<!\\\\)\\\)/\\\\\)/g; # Escape \) to \\)
s/(?<!\\\\)\\\[/\\\\\[/g; # Escape \[ to \\[
s/(?<!\\\\)\\\]/\\\\\]/g; # Escape \] to \\]
' "$file"
}

Expand Down

0 comments on commit f3197d6

Please sign in to comment.