mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
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:
parent
bfca3766b6
commit
2ab11655db
3 changed files with 48 additions and 32 deletions
2
src/RX.h
2
src/RX.h
|
@ -33,8 +33,6 @@
|
|||
#include <vector>
|
||||
#include <regex.h>
|
||||
|
||||
#define RX_MAX_MATCHES 64
|
||||
|
||||
class RX
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue