Pardon an amateur for jumping in here, but I think I see something:

On 8/26/2017 6:24 AM, A. Schulze wrote:

Now my script called pfqgrep -r "+truncated-domain" which trigger the
panic message sometimes

# pfqgrep -r '+12345678901'
Quantifier follows nothing in regex; marked by <-- HERE in m/+ <-- HERE
12345678901/ at /usr/sbin/pfqgrep line 158, <MAILQ> chunk 1.

Doesn't that error message "Quantifier follows nothing" mean that the regexp parser pfqgrep is choking on a quoted expression because it begins with a "+" sign? It seems to expect the "+" to mean "one or more of what precedes" and finds nothing to apply this to.

Since A. Schulze is trying to find a literal "+" sign, isn't "\+" the way to represent it?

--
Larry Kuenning
la...@qhpress.org

Reply via email to