Subject: Re: bug#28329: 25.2; Eshell: 40M+ output: Stack overflow in regexp matcher

From: Mattias Engdegård <[email-masked]>
Date: Sun, 30 Jun 2019 16:48:22 +0200

>(format "\\(%s\\)[^:：៖]*[:：៖]\\s *\\'" (regexp-opt password-word-equivalents))

The [^:：៖] part matches newlines as well; adding \n there should help a bit, too.

The expression can also be shortened by passing t as second argument to regexp-opt, turning the format into a concat.