strlazymatch(9)
hey bestie!! welcome to strlazymatch(9), straight from the Kernel API Manual π this one is giving βglob matching but make it chillβ energy, and weβre gonna get into it π¦β¨
πΈ NAME πΈ
strlazymatch β matching pattern strings lazily with glob pattern π
β¨ SYNOPSIS β¨
bool strlazymatch (const char *str , const char *pat );
π ARGUMENTS π
strβ the target string to match. this is the string getting vibe-checked π«Άpatβ the pattern string to match. this is the pattern doing the checking π
π DESCRIPTION π
okay so itβs similar to strglobmatch, except this one ignores spaces in the target string πβ¨ thatβs the whole glow-up, no cap. spaces in the target string? literally ignored. not counted. bye π
bestie reminder: the only behavior difference spelled out here is that space-ignoring in the target string. donβt invent extra lore π
π¦ SEE ALSO π¦
strglobmatch(9)β the related matcher this one is similar to.strtailcmp(9)β another see-also friend.- the Kernel file
./tools/perf/util/string.cβ thatβs the source spot, iykyk.
mwah π cute little sign-off: the source/version footer tea is ./tools/perf/util, dated October 2026. thatβs the whole footer, bestie β now go match those patterns slayfully πππ₯
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms