diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-06 11:21:38 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-06 11:21:38 +0900 |
commit | 69f866a77cb83db8925fb95fb55d6086fbfe899c (patch) | |
tree | ccab74cc11b14639734bda30c794271461e7bb33 /api/policy.go | |
parent | 9ae30060eb399b825f035160d5b77df74789ffb6 (diff) |
Fixing all megacheck errors.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'api/policy.go')
-rw-r--r-- | api/policy.go | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |