mail: Remove regex match limitation from the BeOS days.

It was still enabled on 32-bit x86...
This commit is contained in:
Augustin Cavalier
2018-11-10 15:00:49 -05:00
parent 1801b9565c
commit 231ee3b8ad
@@ -103,16 +103,6 @@ bool StringMatcher::SetPattern(const char * str, bool isSimple)
bool bool
StringMatcher::Match(const char *str) const StringMatcher::Match(const char *str) const
{ {
#ifdef __INTEL__
char buffer[1024];
if (strlen(str) > 1024) {
// internal Be regex seems to be broken with strings larger than a certain size :-/
memcpy(buffer, str, 1023);
buffer[1023] = '\0';
str = buffer;
}
#endif
if (_regExpValid == false) if (_regExpValid == false)
return false; return false;