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:
parent
7dcf6d599c
commit
d107ce5c31
|
@ -93,14 +93,16 @@ occur more than once are merged.
|
|||
|
||||
==== Example configuration file
|
||||
|
||||
This example makes epubgrep always use Perl regular expressions and search for
|
||||
mentions of the words thyme and oregano in every book.
|
||||
This example makes epubgrep always suppress the file names on output, print 2
|
||||
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]
|
||||
--------------------------------------------------------------------------------
|
||||
perl-regexp = 1
|
||||
regexp = \b[Tt]hyme\b
|
||||
regexp = \b[Oo]regano\b
|
||||
no-filename
|
||||
context = 2
|
||||
regexp = [Tt]hyme
|
||||
regexp = [Oo]regano
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
// == EXAMPLES
|
||||
|
|
Loading…
Reference in New Issue
Block a user