diff options
Diffstat (limited to 'src/backend/regex/engine.c')
-rw-r--r-- | src/backend/regex/engine.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/backend/regex/engine.c b/src/backend/regex/engine.c index 1964f2a0248..6381d5990c9 100644 --- a/src/backend/regex/engine.c +++ b/src/backend/regex/engine.c @@ -831,14 +831,10 @@ sopno stopst; /* how about a word boundary? */ if ((flagch == BOL || (lastc != OUT && !ISWORD(lastc))) && (c != OUT && ISWORD(c))) - { flagch = BOW; - } if ((lastc != OUT && ISWORD(lastc)) && (flagch == EOL || (c != OUT && !ISWORD(c)))) - { flagch = EOW; - } if (flagch == BOW || flagch == EOW) { st = step(m->g, startst, stopst, st, flagch, st); @@ -927,14 +923,10 @@ sopno stopst; /* how about a word boundary? */ if ((flagch == BOL || (lastc != OUT && !ISWORD(lastc))) && (c != OUT && ISWORD(c))) - { flagch = BOW; - } if ((lastc != OUT && ISWORD(lastc)) && (flagch == EOL || (c != OUT && !ISWORD(c)))) - { flagch = EOW; - } if (flagch == BOW || flagch == EOW) { st = step(m->g, startst, stopst, st, flagch, st); |