forked from tordarus/format
changed bulkrename script to work work with filenames containing single quotation marks
This commit is contained in:
2
main.go
2
main.go
@ -140,7 +140,7 @@ func ReadLine(r *bufio.Reader) (string, error) {
|
||||
}
|
||||
|
||||
func replaceVars(format string, vars ...string) string {
|
||||
replacements := replacePattern.FindAllStringSubmatch(format, -1)
|
||||
replacements := replacePattern.FindAllStringSubmatch(format, -1) // TODO arguments do not change in outer loop (can be moved to main method)
|
||||
|
||||
for _, replacement := range replacements {
|
||||
rplStr := replacement[0]
|
||||
|
Reference in New Issue
Block a user