Fix off-by-one error in Regex::isValid
authorAlexey Samsonov <samsonov@google.com>
Thu, 8 Aug 2013 17:32:45 +0000 (17:32 +0000)
committerAlexey Samsonov <samsonov@google.com>
Thu, 8 Aug 2013 17:32:45 +0000 (17:32 +0000)
commit783a0387c5eef62ff50950aa3e977b2652a3c3a5
tree4aba83eec46eeced2a36f5ddc8db20983918277b
parent014773626d2678868adf696ac58c44d2b2980fa8
Fix off-by-one error in Regex::isValid

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187992 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Regex.cpp
unittests/Support/RegexTest.cpp