{"action":"opened","issue":{"url":"https://api.github.com/repos/eggheads/eggdrop/issues/54","labels_url":"https://api.github.com/repos/eggheads/eggdrop/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/eggheads/eggdrop/issues/54/comments","events_url":"https://api.github.com/repos/eggheads/eggdrop/issues/54/events","html_url":"https://github.com/eggheads/eggdrop/issues/54","id":110741223,"number":54,"title":"provide tcl access to a sane matching function","user":{"login":"thommey","id":614832,"avatar_url":"https://avatars.githubusercontent.com/u/614832?v=3","gravatar_id":"","url":"https://api.github.com/users/thommey","html_url":"https://github.com/thommey","followers_url":"https://api.github.com/users/thommey/followers","following_url":"https://api.github.com/users/thommey/following{/other_user}","gists_url":"https://api.github.com/users/thommey/gists{/gist_id}","starred_url":"https://api.github.com/users/thommey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thommey/subscriptions","organizations_url":"https://api.github.com/users/thommey/orgs","repos_url":"https://api.github.com/users/thommey/repos","events_url":"https://api.github.com/users/thommey/events{/privacy}","received_events_url":"https://api.github.com/users/thommey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eggheads/eggdrop/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-09T21:46:58Z","updated_at":"2015-10-09T21:46:58Z","closed_at":null,"body":"**Reported by thommey on 9 Mar 2010 01:27 UTC**\nI'd like to have a tcl api level function to match a mask against a string. Preferrably one with just the standard wildcards * and ?, because [match](string) sucks. You need to sanitize the mask for characters that are valid in nicknames and hosts just to use string match (\"[\",\"]\",\"\\\")."}}