diff options
author | drh <> | 2021-06-07 00:54:38 +0000 |
---|---|---|
committer | drh <> | 2021-06-07 00:54:38 +0000 |
commit | 9a4127a8c1899b3826ed0f7c44f8985e1f511c0a (patch) | |
tree | c22e4ac9ac1dd835ee0de1566c4060b3b3063a5b /ext/misc/regexp.c | |
parent | 9ae57841d0156a266db7105e8d4f1ec4be27ddc3 (diff) | |
download | sqlite-9a4127a8c1899b3826ed0f7c44f8985e1f511c0a.tar.gz sqlite-9a4127a8c1899b3826ed0f7c44f8985e1f511c0a.zip |
Remove unnecessary end-of-line whitespace from the regexp.c extension.
FossilOrigin-Name: 17e26a1f5e3cc4e96b9265dcdbf54f376304b0908f3ff0a0d3df33653e77e5b6
Diffstat (limited to 'ext/misc/regexp.c')
-rw-r--r-- | ext/misc/regexp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/misc/regexp.c b/ext/misc/regexp.c index 95eb5c083..99fb453ce 100644 --- a/ext/misc/regexp.c +++ b/ext/misc/regexp.c @@ -322,7 +322,7 @@ static int re_match(ReCompiled *pRe, const unsigned char *zIn, int nIn){ } if( pRe->aOp[x]==RE_OP_CC_EXC ) hit = !hit; if( hit ) re_add_state(pNext, x+n); - break; + break; } } } @@ -483,7 +483,7 @@ static const char *re_subcompile_string(ReCompiled *p){ iStart = p->nState; switch( c ){ case '|': - case '$': + case '$': case ')': { p->sIn.i--; return 0; @@ -499,7 +499,7 @@ static const char *re_subcompile_string(ReCompiled *p){ if( rePeek(p)=='*' ){ re_append(p, RE_OP_ANYSTAR, 0); p->sIn.i++; - }else{ + }else{ re_append(p, RE_OP_ANY, 0); } break; @@ -708,8 +708,8 @@ static const char *re_compile(ReCompiled **ppRe, const char *zIn, int noCase){ ** is implemented as regexp(B,A). */ static void re_sql_func( - sqlite3_context *context, - int argc, + sqlite3_context *context, + int argc, sqlite3_value **argv ){ ReCompiled *pRe; /* Compiled regular expression */ |