blob: e56f023940fca9a622fcd0d45269a590adb7904a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <util/charset/unidata.h>
namespace NSQLComplete {
static const char WordBreakCharacters[] = " \t\v\f\a\b\r\n`~!@#$%^&*-=+[](){}\\|;:'\".,<>/?";
bool IsWordBoundary(char ch);
size_t LastWordIndex(TStringBuf text);
TStringBuf LastWord(TStringBuf text);
} // namespace NSQLComplete
|