SQLite
Check-in [68346af70b]
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
Changes
hide diffs unified diffs patch

Changes to src/test_regexp.c

374 return 0; 374 return 0; 375 } 375 } 376 *pV = (*pV)*16 + (c & 0xff); 376 *pV = (*pV)*16 + (c & 0xff); 377 return 1; 377 return 1; 378 } 378 } 379 379 380 /* A backslash character has been seen, read the next character and 380 /* A backslash character has been seen, read the next character and 381 ** return its intepretation. | 381 ** return its interpretation. 382 */ 382 */ 383 static unsigned re_esc_char(ReCompiled *p){ 383 static unsigned re_esc_char(ReCompiled *p){ 384 static const char zEsc[] = "afnrtv\\()*.+?[$^{|}]"; 384 static const char zEsc[] = "afnrtv\\()*.+?[$^{|}]"; 385 static const char zTrans[] = "\a\f\n\r\t\v"; 385 static const char zTrans[] = "\a\f\n\r\t\v"; 386 int i, v = 0; 386 int i, v = 0; 387 char c; 387 char c; 388 if( p->sIn.i>=p->sIn.mx ) return 0; 388 if( p->sIn.i>=p->sIn.mx ) return 0;