remove unused regexp code
--HG-- branch : nmdc-ircfrontend
This commit is contained in:
parent
cc22ee33ae
commit
26ede341ef
@ -18,10 +18,6 @@ You should have received a copy of the GNU Affero General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import (
|
||||
"regexp"
|
||||
)
|
||||
|
||||
const (
|
||||
VERSION = "1.0.0"
|
||||
APP_DESCRIPTION = "nmdc-ircfrontend v" + VERSION
|
||||
@ -33,11 +29,6 @@ const (
|
||||
CLIENT_READ_TIMEOUT_SEC = 3
|
||||
)
|
||||
|
||||
var (
|
||||
nickRegexp = regexp.MustCompile(`^[a-zA-Z\[\]_^{|}][a-zA-Z0-9\[\]_^{|}]*$`)
|
||||
channelRegexp = regexp.MustCompile(`^#[a-zA-Z0-9_\-]+$`)
|
||||
)
|
||||
|
||||
type replyCode int
|
||||
|
||||
const (
|
||||
|
Loading…
Reference in New Issue
Block a user