This commit is contained in:
John Kerl 2016-01-30 15:17:22 -05:00
parent ed25f57603
commit bf026ab7a3
2 changed files with 1 additions and 4 deletions

View file

@ -166,8 +166,7 @@ char* regex_gsub(char* input, regex_t* pregex, string_builder_t* psb, char* repl
}
// ----------------------------------------------------------------
// xxx double-check this comment after reg_test/run
// Slot 0 is the entire input string.
// Slot 0 is the entire matched input string.
// Slots 1 and up are substring matches for parenthesized capture expressions (if any).
// Example regex "a(.*)e" with input string "abcde": slot 1 points to "bcd" and match_count = 2.
// Slot 2 has rm_so == -1.

View file

@ -2,8 +2,6 @@
#include "lib/mlrutil.h"
#include "output/lrec_writers.h"
// xxx under construction
typedef struct _lrec_writer_json_state_t {
unsigned long long counter;