c2e74f9146
regexp2 - full featured regular expressions for Go Regexp2 is a feature-rich RegExp engine for Go. It doesn't have constant time guarantees like the built-in regexp package, but it allows backtracking and is compatible with Perl5 and .NET. You'll likely be better off with the RE2 engine from the regexp package and should only use this if you need to write very complex patterns or require compatibility with .NET.
15 lines
430 B
Makefile
15 lines
430 B
Makefile
# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:27:13 ryoon Exp $
|
|
|
|
BUILDLINK_TREE+= go-regexp2
|
|
|
|
.if !defined(GO_REGEXP2_BUILDLINK3_MK)
|
|
GO_REGEXP2_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_CONTENTS_FILTER.go-regexp2= ${EGREP} gopkg/
|
|
BUILDLINK_DEPMETHOD.go-regexp2?= build
|
|
|
|
BUILDLINK_API_DEPENDS.go-regexp2+= go-regexp2>=1.1.6
|
|
BUILDLINK_PKGSRCDIR.go-regexp2?= ../../textproc/go-regexp2
|
|
.endif # GO_REGEXP2_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -go-regexp2
|