V4YVVY5DGY3MNCGIFI6KWO7SYR3U2MGISFMNB3AAHYZPK3PLWFEAC
5UNFING5QZHIFQTY2L57LDIL3HKUYJOZWJI5NNNIY4I7SEL7COMQC
GN5HJ6MQNCPQDINAHS35GUCFV3FKNHOHGVG3YF6FYAHR5MILMPDAC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
6V2WQCRS4WPHRGWQ4VFQBSUNJJ3DMZ5PD3NRPKLUZEAFEUGUKSYQC
ZBZDWW7FIJ24YR7MNGR7HUUHRHQX33AJWFES3G3NEM34W6BFD54AC
restr := '$self.config.irc_regex'
restr := self.config.irc_regex
mut re := regex.regex_opt(restr) or { panic('regex_name_match regex parse fail for $restr') }
restr2 := restr.replace('|', '\\|') // pipe char helper hack mut re := regex.regex_opt(restr2) or { panic('regex_name_match regex parse fail for $restr') }
restr2 := restr.replace('|', '\\|') // pipe char helper hack
mut re := regex.regex_opt(restr2) or { panic('regex_name_match regex parse fail for $restr') }
newname := restr.replace_once('(.*)', name)
newname := restr.replace_once('\(\.\*\)', name)