1re::engine::PCRE(3) User Contributed Perl Documentation re::engine::PCRE(3)
2
3
4
6 re::engine::PCRE - Perl-compatible regular expression engine
7
9 use re::engine::PCRE;
10
11 if ("Hello, world" =~ /(?<=Hello|Hi), (world)/) {
12 print "Greetings, $1!";
13 }
14
16 Replaces perl's regex engine in a given lexical scope with PCRE regular
17 expressions provided by libpcre.
18
20 Ævar Arnfjörð Bjarmason <avar@cpan.org>
21
23 Copyright 2007 Ævar Arnfjörð Bjarmason.
24
25 The original version was copyright 2006 Audrey Tang <cpan@audreyt.org>
26 and Yves Orton.
27
28 This program is free software; you can redistribute it and/or modify it
29 under the same terms as Perl itself.
30
31
32
33perl v5.34.0 2021-07-23 re::engine::PCRE(3)