App-Greple
view release on metacpan or search on metacpan
Command itself is written in Perl, and any kind of Perl style regular
expression can be used in patterns. See [perlre(1)](http://man.he.net/man1/perlre) for detail.
Note that multiple line modifier (`m`) is set when executed, so put
`(?-m)` at the beginning of regex if you want to explicitly disable
it.
Order of capture group in the pattern is not guaranteed. Please avoid
to use direct index, and use relative or named capture group instead.
For example, if you want to search repeated characters, use
`(\w)\g{-1}` or `(?<c>\w)\g{c}` rather than
`(\w)\1`.
Extended Bracketed Character Classes (`(?[...])`) can be used without
warnings. See ["Extended Bracketed Character
Classes" in perlrecharclass](https://metacpan.org/pod/perlrecharclass#Extended-Bracketed-Character-Classes).
- **-e** _pattern_, **--and**=_pattern_
Specify the positive match pattern. Next command print lines contains
all of `foo`, `bar` and `baz`.
script/greple view on Meta::CPAN
Command itself is written in Perl, and any kind of Perl style regular
expression can be used in patterns. See L<perlre(1)> for detail.
Note that multiple line modifier (C<m>) is set when executed, so put
C<(?-m)> at the beginning of regex if you want to explicitly disable
it.
Order of capture group in the pattern is not guaranteed. Please avoid
to use direct index, and use relative or named capture group instead.
For example, if you want to search repeated characters, use
S<< C<(\w)\g{-1}> >> or S<< C<(?E<lt>cE<gt>\w)\g{c}> >> rather than
S<< C<(\w)\1> >>.
Extended Bracketed Character Classes (C<(?[...])>) can be used without
warnings. See L<perlrecharclass/"Extended Bracketed Character
Classes">.
=over 7
=item B<-e> I<pattern>, B<--and>=I<pattern>
( run in 0.420 second using v1.01-cache-2.11-cpan-87723dcf8b7 )