remove unused regexp code

--HG--
branch : nmdc-ircfrontend
This commit is contained in:
. 2016-05-05 19:30:12 +12:00
parent cc22ee33ae
commit 26ede341ef

View File

@ -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/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
import (
"regexp"
)
const ( const (
VERSION = "1.0.0" VERSION = "1.0.0"
APP_DESCRIPTION = "nmdc-ircfrontend v" + VERSION APP_DESCRIPTION = "nmdc-ircfrontend v" + VERSION
@ -33,11 +29,6 @@ const (
CLIENT_READ_TIMEOUT_SEC = 3 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 type replyCode int
const ( const (