I agree, and actually originally had it as
[^|]+ (
| isn't special inside character classes, IIRC). But after hitting "preview" decided that the negated character class method might seem unclear to the OP, so I changed it to the more ubiquitous
.*?.
But your point is valid, that .* and .+ are usually the lazy, slower, and more prone to mistakes ways to do things in pattern matching.
Dave
"If I had my life to live over again, I'd be a plumber." -- Albert Einstein