Skip to content

Commit 71c5d3d

Browse files
authored
Merge pull request #1 from IgorBaskakov/master
fix syntax error
2 parents 180c6ec + a5fbc72 commit 71c5d3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

range.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function parse_into_regex() {
227227

228228
if [ $a -eq ${prev_m} ]; then
229229
if [ "${repeat}" -gt 0 ]; then
230-
local repeat_p=$(( "${repeat} + 1" ))
230+
local repeat_p=$(( ${repeat} + 1 ))
231231
reg+="{${repeat_p}}"
232232
else
233233
reg+="[${from}-${to}]"

0 commit comments

Comments
 (0)