Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TekWizely committed Oct 13, 2024
1 parent 393ed49 commit 39fa36b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bash-tpl
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ function reset_template_regexes() {

fmt_regex="${f1}%?([^${f2_}]*)${f2}"

TAG_TEXT_REGEX="^([^${d1_}]+|${d1}$|${d1}[^[.${d1_}.][.${d2_}.]]+)(.*)"
TAG_TEXT_REGEX="^([^${d1_}]+|${d1}$|${d1}[^${d1_}${d2_}]+)(.*)"

std_regex="((([^${d3_}])|(${d3}[^${d4_}]))*)"

Expand Down Expand Up @@ -436,7 +436,8 @@ function escape_regex() {
e="${e//'['/\\[}"
e="${e//']'/\\]}"
e="${e//'{'/\\{}"
e="${e//'}'/\}}"
local RBRACE='}'
e="${e//'}'/\\${RBRACE}}"
printf -v "${1}" "%s" "${e}"
}

Expand Down

0 comments on commit 39fa36b

Please sign in to comment.