re::engine::PCRE(3)

πŸ“¦ version 0.17, in fedora 43

πŸ’– 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 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