UR::Bo...NotLike(3pm)

πŸ“¦
version 0.470 Β· 2 versions
, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’… NAME πŸ’…

UR::BoolExpr::Template::PropertyComparison::NotLike β€” bestie, this one does a negated SQL-ish like test ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so boom, here's the vibe: the input test value is assumed to be an SQL like value. That means two characters are out here doing wildcard jobs:

  • _ β€” the iconic one character wildcard πŸŽ€
  • % β€” the 0 or more characters wildcard, she contains multitudes πŸ‘‘

That value gets converted into a perl regular expression and then used in a negated match against an object's properties. Not me saying "nope, this does NOT match" with my whole chest πŸ’…

🫢 Little caveat bestie, keep this one close: if the property returns multiple values, this comparison returns false if any of the values matches the pattern. One match in the group and the whole thing flops, fr fr 😭

That's the whole page, no cap β€” short and slay 🌸 This lil' number comes to you from perl v5.32.1, dated 2022-01-17, and it lives in the User Contributed Perl Documentation collection. Mwah, go forth and negate responsibly πŸ’–βœ¨

πŸ“¦ where this page comes from