From 69f866a77cb83db8925fb95fb55d6086fbfe899c Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Fri, 6 Jul 2018 11:21:38 +0900 Subject: Fixing all megacheck errors. Signed-off-by: FUJITA Tomonori --- api/policy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api') diff --git a/api/policy.go b/api/policy.go index 102e2e02..01d55473 100644 --- a/api/policy.go +++ b/api/policy.go @@ -25,9 +25,9 @@ import ( ) var ( - repexpCommunity = regexp.MustCompile("(\\d+.)*\\d+:\\d+") - regexpLargeCommunity = regexp.MustCompile("\\d+:\\d+:\\d+") - regexpCommunityString = regexp.MustCompile("[\\^\\$]") + repexpCommunity = regexp.MustCompile(`(\d+.)*\d+:\d+`) + regexpLargeCommunity = regexp.MustCompile(`\d+:\d+:\d+`) + regexpCommunityString = regexp.MustCompile(`[\^\$]`) ) func ParseCommunityRegexp(arg string) (*regexp.Regexp, error) { -- cgit v1.2.3