From 2188000626d7647fad1a4b243e697b618039dd28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ximo=20Cuadros?= Date: Thu, 19 Mar 2020 17:16:24 +0100 Subject: [PATCH] README.md: update --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ed50334..e65c8f0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -## go-oniguruma -Build Status +# go-oniguruma ![Test](https://github.com/go-enry/go-oniguruma/workflows/Test/badge.svg) This repository is a fork of [moovweb/rubex](https://github.com/moovweb/rubex/tree/go1) - a simple regular expression library (based on [oniguruma](https://github.com/kkos/oniguruma)) that supports Ruby's regex syntax. @@ -8,7 +7,9 @@ The _rubex_ was originally created by Zhigang Chen (zhigang.chen@moovweb.com or By the benchmark tests in regexp, the library is 40% to 10X faster than Regexp on all but one test. Unlike Go's regexp, this library supports named capture groups and also allow `"\\1"` and `"\\k"` in replacement strings. The library calls the _oniguruma_ regex library for regex pattern searching. All replacement code is done in Go. -### Install all (_oniguruma_ and _rubex_): +Install +------- + ```sh # linux (debian/ubuntu/...) sudo apt-get install libonig-dev @@ -16,5 +17,10 @@ sudo apt-get install libonig-dev # osx (homebrew) brew install oniguruma -go install -i . +go get github.com/go-enry/go-oniguruma ``` + + +License +------- +Apache License Version 2.0, see [LICENSE](LICENSE)