Modify config file example.

It's not a good idea to specify “perl-regexp” in the config file, because it can
not be overriden yet. 😊
This commit is contained in:
tastytea 2021-05-26 20:19:09 +02:00
parent 7dcf6d599c
commit d107ce5c31
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 7 additions and 5 deletions

View File

@ -93,14 +93,16 @@ occur more than once are merged.
==== Example configuration file ==== Example configuration file
This example makes epubgrep always use Perl regular expressions and search for This example makes epubgrep always suppress the file names on output, print 2
mentions of the words thyme and oregano in every book. words of context around matches (unless overridden on the command line) and
search for mentions of the words thyme and oregano in every book.
[source,cfg] [source,cfg]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
perl-regexp = 1 no-filename
regexp = \b[Tt]hyme\b context = 2
regexp = \b[Oo]regano\b regexp = [Tt]hyme
regexp = [Oo]regano
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
// == EXAMPLES // == EXAMPLES