Bug - regular expressions

- Fixed bug where regexec was not being properly called.
- Fixed bug where multiple subexpressions were not being properly handled.
- Fixed bug that allowed regex matching to run off the end of a string.
- Fixed bug that causes regex captures to not be properly offset into the input
  string.
- Removed () from unit tests.
This commit is contained in:
Paul Beckingham 2011-09-06 23:18:26 -04:00
parent bfca3766b6
commit 2ab11655db
3 changed files with 48 additions and 32 deletions

View file

@ -33,8 +33,6 @@
#include <vector>
#include <regex.h>
#define RX_MAX_MATCHES 64
class RX
{
public: