Re-use the GetMatchAtIndex() that uses the StringRef to avoid code duplication and...
authorGreg Clayton <gclayton@apple.com>
Wed, 22 Oct 2014 21:43:15 +0000 (21:43 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 22 Oct 2014 21:43:15 +0000 (21:43 +0000)
commitfa226b74d18ff910fe069377fec7d05ee1c61975
tree0678de5c4504ff28e9b4497760384be2b17692ea
parentb5c4971a4c5c285350b310ad81871d5db7a941f6
Re-use the GetMatchAtIndex() that uses the StringRef to avoid code duplication and properly detect when a capture is invalid and return false.

llvm-svn: 220431
lldb/source/Core/RegularExpression.cpp