re::engine::PCRE(3)
π re::engine::PCRE β the Perl-compatible regex engine, but make it a Perl module π
okay so bestie, this is a page from the User Contributed Perl Documentation section of the manual, and it's about re::engine::PCRE, which is giving main character energy for your regexes. Sit down, hydrate, let's get into it. π«Ά
β¨ NAME β¨
re::engine::PCRE β a Perl-compatible regular expression engine, no cap. π
πΈ SYNOPSIS πΈ
okay so here's the vibe, literally just:
use re::engine::PCRE;
if ("Hello, world" =~ /(?<=Hello|Hi), (world)/) {
print "Greetings, $1!";
}
likeβ¦ that's it. that's the whole thing. she's cute, she's concise, she ate. π
π¦ DESCRIPTION π¦
So the tea is: this module replaces perl's regex engine in a given lexical scope with PCRE regular expressions provided by libpcre. β¨
That's the whole deal, bestie. you're swapping out the engine, but only inside the scope you said so. very demure, very mindful, very lexical. π
π AUTHORS π
Γvar ArnfjΓΆrΓ° Bjarmason <avar@cpan.org> β yeah, that's the icon, that's the moment. π«Ά
π COPYRIGHT π
Copyright 2007 Γvar ArnfjΓΆrΓ° Bjarmason.
The original version was copyright 2006 Audrey Tang <cpan@audreyt.org> and Yves Orton. shoutout to the OGs, fr fr. π
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
ngl, "same terms as Perl itself" is the licensing equivalent of "we share clothes, it's fine" β and yes, it's free software, go wild. π
okay that's the whole page, you're officially caught up. π
this lil' page came to you courtesy of perl v5.42.0, dated 2025-07-25, filed under re::engine::PCRE(3). mwah, bye bestie! π
β¨π
π¦ where this page comes from
- fedora 43: perl-re-engine-PCRE 0.17-44.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms