3 ms·
Eh, well... that's not gnu grep. Also you will notice a call to fastexec four lines above, which uses a somewhat specialized matcher that's not libc regex.
by tedunangst 7y ago
Eh, well... that's not gnu grep. Also you will notice a call to fastexec four lines above, which uses a somewhat specialized matcher that's not libc regex.
- saagarjha 7y agoI am aware, Apple took it out a while sometime after Mac OS X Lion (presumably because it was GPL? This is the last I saw of it: https://github.com/apple-open-source-mirror/grep/commit/0b404719ca81df65899cc4266fd09af5247b9917 https://github.com/apple-open-source-mirror/grep/commit/0b40...) fastexec is not called because Apple compiles with WITHOUT_FASTMATCH: https://github.com/apple-open-source-mirror/text_cmds/blob/94b08bd3a5db772a7e1f25baed9e1176ad22c2e9/xcconfigs/grep.xcconfig#L13 https://github.com/apple-open-source-mirror/text_cmds/blob/9....