mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
chore: upgrade dependencies. remove deprecated code. conform to linter style
This commit is contained in:
@@ -115,9 +115,9 @@ func parseTags(rawTags string) Tags {
|
||||
|
||||
func ParseIRCMessage(line string) (IRCMessage, bool) {
|
||||
ircMessage := IRCMessage{}
|
||||
multipleSpacesRegex := regexp.MustCompile("[^\\S\\t]+")
|
||||
trailingParamRegex := regexp.MustCompile("[^\\S\\t]+:")
|
||||
whitespaceRegex := regexp.MustCompile("^[^\\S\\t]+$")
|
||||
multipleSpacesRegex := regexp.MustCompile(`[^\S\t]+`)
|
||||
trailingParamRegex := regexp.MustCompile(`[^\S\t]+:`)
|
||||
whitespaceRegex := regexp.MustCompile(`^[^\S\t]+$`)
|
||||
|
||||
if len(line) <= 0 {
|
||||
// TODO: do something here ???
|
||||
|
||||
Reference in New Issue
Block a user