LeKSuS-04 / svoi

Funny telegram bot
4 stars 1 forks source link

add more symbols to matchers #2

Open awakair opened 1 month ago

awakair commented 1 month ago

smth like

var matchers = []matcher{
    {
        ttype: svo,
        re:    regexp.MustCompile("[сСsScC][вВvVB8][оОoO0]+"),
    },
    {
        ttype: zov,
        re:    regexp.MustCompile("[зЗzZ3][оОoO0]+[8вВvVB]"),
    },
}

where cC are english letters

LeKSuS-04 commented 1 month ago

I would gladly accept a PR with such changes!