[Bug 180381] pgrep(1): Cannot compile regular expression 'clang++'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Sep 16 22:21:19 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180381
Yuri Pankov <yuripv at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yuripv at FreeBSD.org
--- Comment #4 from Yuri Pankov <yuripv at 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.
More information about the freebsd-bugs
mailing list