Skip to content
Perl Compatible Regular Expression shim for Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
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



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

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

import ""

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.