Eric Wong writes:
> Have you run any performance tests?
No. To get an idea of how to approach that, would you suggest I look at
xt/perf-msgview.t?
> I'm actually more worried about the '0' (of '{0,}') or '*' being
> combined with '?'. I can't remember if there's a pathological
> case in that...
Ah, okay, sorry for missing that.
> The upper bound of N is a smaller concern, especially for
> non-spam messages which only have non-space tokens of reasonable
> length.
>
> Maybe changing the three existing '+' to {1,M} would be a way to
> ameliorate the problem (though I'm not sure what a good value of
> M would be, 255?).
Me neither, though I suspect 255 would be sufficient.