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
|
==== 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user