Commit 3d57a5cc by Neil Booth

* opts.sh: Quote '+' in regex.

From-SVN: r67984
parent 5641d622
...@@ -49,7 +49,7 @@ ${AWK} ' ...@@ -49,7 +49,7 @@ ${AWK} '
result = "0" result = "0"
for (j = 0; j < n_langs; j++) { for (j = 0; j < n_langs; j++) {
regex = " " langs[j] " " regex = " " langs[j] " "
gsub ( "\+", "\\+", regex ) gsub ( "\\+", "\\+", regex )
if (flags ~ regex) if (flags ~ regex)
result = result " | " macros[j] result = result " | " macros[j]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment