Skip to content
Perl Compatible Regular Expression shim for Go
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
debian
src/pkg/pcre Add CFLAGS for 'mac port install pcre' compatibility. May 22, 2012
.gitignore Move sources files to src/pkg/pcre Feb 27, 2011
README.markdown Add README.markdown. May 18, 2012

README.markdown

golang-pkg-pcre

This is a Go language package providing Perl-Compatible RegularExpression support using libpcre++. Install the package with the current Debian distribution as follows:

sudo apt-get install libpcre++-dev
go get github.com/glenn-brown/golang-pkg-pcre/src/pkg/pcre

Go programs that depend on this package should import this package as follows to allow automatic downloading:

import "github.com/glenn-brown/golang-pkg-pcre/src/pkg/pcre"

This is a clone of golang-pkg-pcre by Florian Weimer, which has been placed on github so it can be fetched by Go's automatic package installer. The FindIndex() and ReplaceAll() functions were added by Glenn Brown, to mimic functions in Go's default regexp package.

You can’t perform that action at this time.