comment
This commit is contained in:
parent
35f8259c77
commit
f70ec1cab7
@ -709,6 +709,12 @@ bool TextSplit::text_to_words(const string &in)
|
|||||||
// confusing.
|
// confusing.
|
||||||
// ie "MySQL manual" is matched by "MySQL manual" and
|
// ie "MySQL manual" is matched by "MySQL manual" and
|
||||||
// "my sql manual" but not "mysql manual"
|
// "my sql manual" but not "mysql manual"
|
||||||
|
|
||||||
|
// A possibility would be to emit both my and sql at the
|
||||||
|
// same position. All non-phrase searches would work, and
|
||||||
|
// both "MySQL manual" and "mysql manual" phrases would
|
||||||
|
// match too. "my sql manual" would not match, but this is
|
||||||
|
// not an issue.
|
||||||
case A_ULETTER:
|
case A_ULETTER:
|
||||||
if (m_span.length() &&
|
if (m_span.length() &&
|
||||||
charclasses[(unsigned char)m_span[m_span.length() - 1]] ==
|
charclasses[(unsigned char)m_span[m_span.length() - 1]] ==
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user