strlazymatch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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