Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2019 22:21:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 180381] pgrep(1): Cannot compile regular expression 'clang++'
Message-ID:  <bug-180381-227-U6p9PPg65a@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-180381-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180381

Yuri Pankov <yuripv@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yuripv@FreeBSD.org

--- Comment #4 from Yuri Pankov <yuripv@FreeBSD.org> ---
Yes, that is expected behavior, from pgrep(1) man page:

     If any pattern operands are specified, they are used as extended regular
     expressions to match the command name or full argument list of each
     process.

You'll have to escape all characters that have special meaning in regular
expressions, e.g.:

$ pgrep -lf a\\+\\+
63750 ./a++

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-180381-227-U6p9PPg65a>