strglobmatch(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME β€” strglobmatch(9) πŸ’–

strglobmatch β€” glob expression pattern matching. periodt. ✨

okay so bestie, this page is straight out of the Kernel API Manual, and the main character is strglobmatch(9) β€” she's literally here for glob expression pattern matching. πŸŽ€

🌸 SYNOPSIS 🌸

bool strglobmatch (const char *str , const char *pat );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • str β€” the target string to match. the one being checked, bestie. πŸ’…
  • pat β€” the pattern string to match. the vibe she's matching against. πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

This returns true if str matches pat. no cap. ✨

pat can include wildcards β€” '*' and '?' β€” and character classes ([CHARS]), and complementation and ranges are also supported. so she's got range, literally. 🌈

Also, this supports the escape character ('´) to use special characters as normal character. iconique. 🧚

⚠️ NOTE ⚠️

if pat syntax is broken, this always returns false. not sometimes, bestie β€” always. πŸ’€

πŸ‘€ SEE ALSO πŸ‘€


mwah πŸ’– source/version: ./tools/perf/util Β· date: October 2026 Β· this was the strglobmatch(9) page β€” bye bestie! 🫢

πŸ“¦ where this page comes from