Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion range.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function parse_into_regex() {

if [ $a -eq ${prev_m} ]; then
if [ "${repeat}" -gt 0 ]; then
local repeat_p=$(( "${repeat} + 1" ))
local repeat_p=$(( ${repeat} + 1 ))
reg+="{${repeat_p}}"
else
reg+="[${from}-${to}]"
Expand Down