The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Greple::xp - extended pattern module

VERSION

Version 0.04

SYNOPSIS

greple -Mxp

DESCRIPTION

This module provides functions those can be used by greple pattern and region options.

OPTIONS

--le-pattern file
--inside-pattern file
--outside-pattern file
--include-pattern file
--exclude-pattern file

Read file contents and use each lines as a pattern for options.

--le-string file
--inside-string file
--outside-string file
--include-string file
--exclude-string file

Almost same as *-pattern option but each line is concidered as a fixed string rather than regular expression.

COMMENT

Lines start with hash mark (#) is ignored as a comment line.

String after double slash (//) is also ignored with preceding spaces.

WILD CARD

Because file parameter is globbed, you can use wild card to give multiple files. If nothing matched to the wild card, this option is simply ignored with no message.

    $ greple -Mxp --exclude-pattern '*.exclude' ...

SEE ALSO

https://github.com/kaz-utashiro/greple

https://github.com/kaz-utashiro/greple-xp

AUTHOR

Kazumasa Utashiro

LICENSE

Copyright 2019- Kazumasa Utashiro.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.