Correct some off-by-one errors, especially when expressions don't contain expected...
authorTilghman Lesher <tilghman@meg.abyt.es>
Tue, 2 Feb 2010 18:54:33 +0000 (18:54 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Tue, 2 Feb 2010 18:54:33 +0000 (18:54 +0000)
commit5071b6debc596395a39115df0f76851fbb9afba6
tree333cc0b61225b5abf4c785c4103a6d70ec179884
parent81762bf4c7265a68e63f7f2e2b0b77e7b26e26fc
Correct some off-by-one errors, especially when expressions don't contain expected spaces.

Also include the tests provided by the reporter, as regression tests.

(closes issue #16667)
 Reported by: wdoekes
 Patches:
       astsvn-func_match-off-by-one.diff uploaded by wdoekes (license 717)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@244331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
funcs/func_math.c