Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
bk regex(7.3.3)		    BitKeeper User's Manual	       bk regex(7.3.3)

NAME
       bk regex	- demo program to show regular expressions in BitKeeper

SYNOPSIS
       bk regex	regex string [string ...]

DESCRIPTION
       Some  commands,	most notably bk	grep, can take a regular expression as
       an argument.  This man page describes the BitKeeper version of  regular
       expressions.   This command may be used to match	a regex	against	one or
       more strings to see examples of how  the	 regular  expression  matching
       works.

       Regular	expressions are	used to	search text for	approximate (or	exact)
       matches.	 Knowing how regular expressions work can be useful, they  are
       quite  powerful.	 Suppose that the words	"foo," "bar," and "blech" were
       considered inappropriate	in your	source	tree;  the  following  command
       would find all files which contain any of those words:

	   bk -U grep 'foo|bar|blech'

       BitKeeper  is compatible	with the PERL regular expression syntax. For a
       quick start on PCRE, please see bk-pcre

CATEGORY
       Utility

BitKeeper Inc			      1E1		       bk regex(7.3.3)

NAME | SYNOPSIS | DESCRIPTION | CATEGORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=regex&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help