Add Features

This commit is contained in:
ZHENK
2021-08-05 03:53:49 +12:00
parent 32d5ffba8d
commit 58b13156fc
+9 -12
View File
@@ -2,14 +2,16 @@
[![GoDoc](https://pkg.go.dev/github.com/scorpionknifes/go-pcre?status.svg)](https://pkg.go.dev/github.com/scorpionknifes/go-pcre)
This is a Go language package providing support for
Perl Compatible Regular Expressions (PCRE).
This is a Go language package providing support for Perl Compatible Regular Expressions (PCRE).
Current version is pcre 8.45
This version is created from [go-pcre](https://github.com/rubrikinc/goc-pcre) to allow windows support.
Current version is PCRE 8.45
## Features:
- Support Windows, Linux & MacOS
- Statically build into your application
## Installation
@@ -19,22 +21,17 @@ Install the package with the following:
## Usage
Go programs that depend on this package should import
this package as follows to allow automatic downloading:
Go programs that depend on this package should import this package as follows to allow automatic downloading:
import "github.com/scorpionknifes/go-pcre"
## History
This is a clone of [go-pcre](https://github.com/rubrikinc/go-pcre)
This is a clone of [go-pcre](https://github.com/rubrikinc/goc-pcre)
This was a clone of
[golang-pkg-pcre](http://git.enyo.de/fw/debian/golang-pkg-pcre.git)
by Florian Weimer, which has been placed on Github by Glenn Brown,
so it can be fetched automatically by Go's package installer.
This was a clone of [golang-pkg-pcre](http://git.enyo.de/fw/debian/golang-pkg-pcre.git) by Florian Weimer, which has been placed on Github by Glenn Brown, so it can be fetched automatically by Go's package installer.
Glenn Brown added `FindIndex()` and `ReplaceAll()`
to mimic functions in Go's default regexp package.
Glenn Brown added `FindIndex()` and `ReplaceAll()` to mimic functions in Go's default regexp package.
Mathieu Payeur Levallois added `Matcher.ExtractString()`.