|
... |
|
... |
707 |
// This emits "camel" when hitting the 'C' of camelCase
|
707 |
// This emits "camel" when hitting the 'C' of camelCase
|
708 |
// Not enabled by defaults as this makes phrase searches quite
|
708 |
// Not enabled by defaults as this makes phrase searches quite
|
709 |
// confusing.
|
709 |
// confusing.
|
710 |
// ie "MySQL manual" is matched by "MySQL manual" and
|
710 |
// ie "MySQL manual" is matched by "MySQL manual" and
|
711 |
// "my sql manual" but not "mysql manual"
|
711 |
// "my sql manual" but not "mysql manual"
|
|
|
712 |
|
|
|
713 |
// A possibility would be to emit both my and sql at the
|
|
|
714 |
// same position. All non-phrase searches would work, and
|
|
|
715 |
// both "MySQL manual" and "mysql manual" phrases would
|
|
|
716 |
// match too. "my sql manual" would not match, but this is
|
|
|
717 |
// not an issue.
|
712 |
case A_ULETTER:
|
718 |
case A_ULETTER:
|
713 |
if (m_span.length() &&
|
719 |
if (m_span.length() &&
|
714 |
charclasses[(unsigned char)m_span[m_span.length() - 1]] ==
|
720 |
charclasses[(unsigned char)m_span[m_span.length() - 1]] ==
|
715 |
A_LLETTER) {
|
721 |
A_LLETTER) {
|
716 |
if (m_wordLen) {
|
722 |
if (m_wordLen) {
|