NSRegularExpression Warning in Sogo log

Hi,
Not sure if this is NS8 related, but i see the following inth sogo.log


2025-05-21T19:10:16+02:00 [1:sogo1:sogo-app] 2025-05-21 19:10:16.303 sogod[109:109] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind 
2025-05-21T19:10:46+02:00 [1:sogo1:sogo-app] 2025-05-21 19:10:46.690 sogod[107:107] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind 
2025-05-21T19:11:34+02:00 [1:sogo1:sogo-app] 2025-05-21 19:11:34.072 sogod[110:110] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind 
2025-05-21T19:11:39+02:00 [1:sogo1:sogo-app] 2025-05-21 19:11:39.626 sogod[108:108] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind 
2025-05-21T19:13:07+02:00 [1:sogo1:sogo-app] 2025-05-21 19:13:07.562 sogod[102:102] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind 
2025-05-21T19:14:59+02:00 [1:sogo1:sogo-app] 2025-05-21 19:14:59.202 sogod[106:106] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind 
2025-05-21T19:32:11+02:00 [1:sogo1:sogo-app] 2025-05-21 19:32:11.489 sogod[104:104] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind 
2025-05-21T19:36:57+02:00 [1:sogo1:sogo-app] 2025-05-21 19:36:57.500 sogod[107:107] File <mark>NSRegularExpression</mark>.m: 275. In -[<mark>NSRegularExpression</mark> initWithPattern:options:error:] Warning: this implementation of <mark>NSRegularExpression</mark> uses -enumerateMatchesInString:options:range:callback:context: as a primitive method rather than the blocks-dependtent method used by Apple. If you must subclass <mark>NSRegularExpression</mark>, you must bear that difference in mind

I don’t see this in the log of my SOGo instance.

1 Like

It’s about the gnustep implementation of the NSRegularExpression.
I think it’s more like a warning for developers. If there’s no issue, I’d ignore it.

SOGo uses gnustep for developing the GUI, see SOGo docs. It aims to be compatible to Apple.
The NS8RegularExpression implementation of gnustep seems to be simpler than the Apple one.

Is it possible to trigger the log entry by searching in SOGo or on DAV clients?

Is there a special device that triggers the log entry?

I’m not having the error anymore in the logs since yesterday.
Strange because nothing has been changed, but i’ll keep monitoring it to find the device causing it

1 Like