/ Check-in [68346af7]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a typo in a comment in the test_regexp.c test file.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 68346af70bc43baf791227a381e54f9aca802c72
User & Date: drh 2013-01-20 00:18:49
Context
2013-01-23
18:44
Fix a double-free() call that can occur when SQLITE_ENABLE_TREE_EXPLAIN is defined. check-in: 5bfb5967 user: drh tags: trunk
2013-01-20
00:18
Fix a typo in a comment in the test_regexp.c test file. check-in: 68346af7 user: drh tags: trunk
2013-01-18
03:35
The \xXX escape in the test_regexp.c must be followed by exactly two hex digits. check-in: 82957495 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to src/test_regexp.c.

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