Skip to content

Commit af6dc1f

Browse files
committed
grep can use PCRE with -P, pgrep is something else
1 parent 9e68739 commit af6dc1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ <h1>Programs</h1>
188188
<tbody id="programs-cmdline" class="subgroup">
189189
<tr><th colspan="3">Command-line tools</th></tr>
190190
<tr><td>awk</td><td>ERE</td><td>might depend on the implementation</td></tr>
191-
<tr><td>grep</td><td>BRE, <code>egrep</code> for ERE, <code>pgrep</code> for PCRE (optional)</td><td></td></tr>
191+
<tr><td>grep</td><td>BRE, <code>egrep</code> for ERE, <code>grep -P</code> for PCRE (optional)</td><td></td></tr>
192192
<tr><td>less</td><td>ERE</td><td>usually; man page says "regular expression library supplied by your system"</td></tr>
193193
<tr><td>screen</td><td>plain text</td><td></td></tr>
194194
<tr><td>sed</td><td>BRE, <code>-E</code> switches to ERE</td><td></td></tr>

0 commit comments

Comments
 (0)