Skip to content

Commit 57cd80a

Browse files
committed
Remove unused regexp
1 parent bd5dbc6 commit 57cd80a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

shellwords.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"bytes"
55
"errors"
66
"os"
7-
"regexp"
87
"strings"
98
"unicode"
109
)
@@ -14,8 +13,6 @@ var (
1413
ParseBacktick bool = false
1514
)
1615

17-
var envRe = regexp.MustCompile(`\$({[a-zA-Z0-9_]+}|[a-zA-Z0-9_]+)`)
18-
1916
func isSpace(r rune) bool {
2017
switch r {
2118
case ' ', '\t', '\r', '\n':

0 commit comments

Comments
 (0)