SQLite
Check-in [68346af7]
Not logged in
Overview
SHA1 Hash:68346af70bc43baf791227a381e54f9aca802c72
Date: 2013-01-20 00:18:49
User: drh
Comment:Fix a typo in a comment in the test_regexp.c test file.
Tags And Properties
Context
2013-01-23
18:44
[5bfb5967] Fix a double-free() call that can occur when SQLITE_ENABLE_TREE_EXPLAIN is defined. (user: drh, tags: trunk)
2013-01-20
00:18
[68346af7] Fix a typo in a comment in the test_regexp.c test file. (user: drh, tags: trunk)
2013-01-18
03:35
[82957495] The \xXX escape in the test_regexp.c must be followed by exactly two hex digits. (user: drh, tags: trunk)
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/test_regexp.c

374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
    return 0;
  }
  *pV = (*pV)*16 + (c & 0xff);
  return 1;
}

/* A backslash character has been seen, read the next character and
** return its intepretation.
*/
static unsigned re_esc_char(ReCompiled *p){
  static const char zEsc[] = "afnrtv\\()*.+?[$^{|}]";
  static const char zTrans[] = "\a\f\n\r\t\v";
  int i, v = 0;
  char c;
  if( p->sIn.i>=p->sIn.mx ) return 0;







|







374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
    return 0;
  }
  *pV = (*pV)*16 + (c & 0xff);
  return 1;
}

/* A backslash character has been seen, read the next character and
** return its interpretation.
*/
static unsigned re_esc_char(ReCompiled *p){
  static const char zEsc[] = "afnrtv\\()*.+?[$^{|}]";
  static const char zTrans[] = "\a\f\n\r\t\v";
  int i, v = 0;
  char c;
  if( p->sIn.i>=p->sIn.mx ) return 0;