Skip to content

Commit dd5be96

Browse files
committed
Merge branch 'master' of outdead.github.com:outdead/regex-range-builder
2 parents b93ad29 + 71c5d3d commit dd5be96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Korotkiy Pavel
3+
Copyright (c) 2019 Pavel Korotkiy
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

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)