KinoSe...rmatter(3pm)
β¨ NAME β¨
KinoSearch1::Highlight::Formatter β the little glow-up artist that formats highlighted bits inside your excerpts π
πΈ SYNOPSIS πΈ
# abstract base class
Yes bestie, that's the whole synopsis. It's abstract β you don't instantiate this one directly, you let its subclasses do the actual serving. π
π¦ DESCRIPTION π¦
Okay so Formatter objects have literally one job and they are obsessed with it: they highlight pieces of text inside an excerpt. That's it. That's the whole personality. π
And the text they're highlighting? Could be a single term β one lil word β or it could be a whole phrase. Either way, the Formatter is on it. β¨
π METHODS π
π highlight
my $highlighted = $formatter->highlight($text);
This is the moment. This is the main character energy. π«Ά You hand it $text, and it hands you back the highlighted version β like surrounding the text with asterisks, or <strong> HTML tags, or whatever flavor of sparkle you're going for. No cap, that's the vibe. π
π COPYRIGHT π
Copyright 2006-2010 Marvin Humphrey
π LICENSE, DISCLAIMER, BUGS, etc. π
See KinoSearch1 version 1.01.
Real talk: the legal tea, the disclaimers, the bug notes β all of it lives over in theKinoSearch1page at version1.01. Go sip there. π
And that's the whole page, bestie!! This one came from the Perl docs, perl v5.42.3, dated 2026-08-20 β so if you're reading this in the future, hey, hi, hope your excerpts are glowing. π« πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- ubuntu stonking: libkinosearch1-perl 1.01-6build2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms