diff --git a/README.md b/README.md index 9db1ab6..3110683 100644 --- a/README.md +++ b/README.md @@ -183,7 +183,7 @@ Special replacement symbols: n can be specified by flag -I/--key-capt-idx (default: 1) Special cases of replacement string: - *1. Capture variables better be in the format of '${1}'. + *1. Capture variables should be in the format of '${1}' to reduce errors. a). If the capture variable is followed with space or other simple, it's OK: -r '$1 abc' b). If followed by numbers, characters, or underscore. That is ambiguous: diff --git a/brename.go b/brename.go index d9a3671..396e4a5 100644 --- a/brename.go +++ b/brename.go @@ -697,7 +697,7 @@ Special replacement symbols: n can be specified by flag -I/--key-capt-idx (default: 1) Special cases of replacement string: - *1. Capture variables better be in the format of '${1}'. + *1. Capture variables should be in the format of '${1}' to reduce errors. a). If the capture variable is followed with space or other simple, it's OK: -r '$1 abc' b). If followed by numbers, characters, or underscore. That is ambiguous: