Add Features
This commit is contained in:
@@ -2,14 +2,16 @@
|
|||||||
|
|
||||||
[](https://pkg.go.dev/github.com/scorpionknifes/go-pcre)
|
[](https://pkg.go.dev/github.com/scorpionknifes/go-pcre)
|
||||||
|
|
||||||
This is a Go language package providing support for
|
This is a Go language package providing support for Perl Compatible Regular Expressions (PCRE).
|
||||||
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:
|
## Features:
|
||||||
|
|
||||||
- Support Windows, Linux & MacOS
|
- Support Windows, Linux & MacOS
|
||||||
|
- Statically build into your application
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -19,22 +21,17 @@ Install the package with the following:
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Go programs that depend on this package should import
|
Go programs that depend on this package should import this package as follows to allow automatic downloading:
|
||||||
this package as follows to allow automatic downloading:
|
|
||||||
|
|
||||||
import "github.com/scorpionknifes/go-pcre"
|
import "github.com/scorpionknifes/go-pcre"
|
||||||
|
|
||||||
## History
|
## 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
|
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.
|
||||||
[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()`
|
Glenn Brown added `FindIndex()` and `ReplaceAll()` to mimic functions in Go's default regexp package.
|
||||||
to mimic functions in Go's default regexp package.
|
|
||||||
|
|
||||||
Mathieu Payeur Levallois added `Matcher.ExtractString()`.
|
Mathieu Payeur Levallois added `Matcher.ExtractString()`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user