]> git.sthu.org Git - mutt-gruvbox.git/commit
Limit regex repetition to 255
authorStefan Huber <shuber@sthu.org>
Wed, 17 Feb 2021 10:09:23 +0000 (11:09 +0100)
committerStefan Huber <shuber@sthu.org>
Wed, 17 Feb 2021 19:29:04 +0000 (20:29 +0100)
commit6db7b3c495c6e4eff6ca2882bb992a8916d6726d
treed25b819c97df614417a8cf3bece859a32635e56b
parentb38e761b1cde12e62166bfab4687576a463013a3
Limit regex repetition to 255

The BSD implementation of regex has RE_DUP_MAX set to 255, e.g., see man
3 regex for openbsd. Limit the patterns to 255 to support mutt on BSD,
like Mac OS X (Darwin).

Fixes #1 (github)

Reported-by: reportaman
colors-gruvbox-shuber.muttrc