Skip to content
Perl Compatible Regular Expression shim for Go
Go
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead of glenn-brown:master.
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
.gitignore
README.markdown

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.