aboutsummaryrefslogtreecommitdiffstats
path: root/incdec
diff options
context:
space:
mode:
authorTeddy Wing2021-08-21 21:12:39 +0200
committerTeddy Wing2021-08-21 21:13:59 +0200
commit54218fbf53e7077fdd3740456be434893253b183 (patch)
tree861e960eb7b8160cade31f37f7dd2c5559dc1389 /incdec
parent9ef2e03beda0e9084a8d871ab433ffdd2b0a70fc (diff)
downloadreadline-incdec-54218fbf53e7077fdd3740456be434893253b183.tar.bz2
incdec.pm: Handle negative numbers
Include "-" in the pattern that matches numbers. Wrap the pattern in word boundaries also. This passes the test I added previously to increment a negative number.
Diffstat (limited to 'incdec')
0 files changed, 0 insertions, 0 deletions