From 15ce658253f13f356d51b746938b19c9ffe1f33d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 15 Aug 2023 15:57:02 -0400 Subject: docs/bfs.1: Document each -regextype --- docs/bfs.1 | 39 ++++++++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 5 deletions(-) (limited to 'docs/bfs.1') diff --git a/docs/bfs.1 b/docs/bfs.1 index c7a4373..2ecb891 100644 --- a/docs/bfs.1 +++ b/docs/bfs.1 @@ -329,11 +329,40 @@ Ignored; for compatibility with GNU find. \fB\-regextype \fITYPE\fR Use .IR TYPE -flavored -regexes (default: -.IR posix-basic ; -see -.B \-regextype -.IR help ). +regular expressions. +The possible types are +.RS +.TP +.I posix-basic +POSIX basic regular expressions (the default). +.TP +.I posix-extended +POSIX extended resular expressions. +.TP +.I ed +Like +.BR ed (1) +(same as +.IR posix-basic ). +.TP +.I emacs +Like +.BR emacs (1). +.TP +.I grep +Like +.BR grep (1). +.TP +.I sed +Like +.BR sed (1) +(same as +.IR posix-basic ). +.PP +See +.BR regex (7) +for a description of regular expression syntax. +.RE .TP .B \-status Display a status bar while searching. -- cgit v1.2.3