Opened 11 years ago

Closed 11 years ago

#12832 closed defect (fixed)

Mentions - Regex Support

Reported by: jmazzi Owned by:
Milestone: Adium 1.5 Component: Adium Core
Version: Severity: normal
Keywords: regex mentions Cc:
Patch Status:


I'd love to see an option for specifying that a pattern is a regular expression. This would allow you to plan for typos in mentions.


Change History (1)

comment:1 Changed 11 years ago by Frank

Milestone: Adium 1.5
Resolution: fixed
Status: newclosed

(In d6bb9d4249fc) Use NSPredicate for mention detection. Fixes #12831.

Refactor our mention filter to search for strings based on NSPredicate matches. Aside from simplifying the main matching loop, this also lets users seach using ICU regexps like so: /[mM]atchng\s[sS]tring/.

All matches are case and diacritic insensitive.

See for details on expression syntax.

Note: See TracTickets for help on using tickets.