From 0ef73be25188cf1d9b170750f06a59897bd5da08 Mon Sep 17 00:00:00 2001 From: Tom Lord Date: Mon, 13 Jul 2015 15:39:57 +0100 Subject: [PATCH] Added code climate badge My main Parser has been given an F, haha!! It's pretty damn hard to write that bit "well", though... Overall the score's not too bad, so I'll publish it :P --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f5cc2e9..945a002 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ [![Gem Version](https://badge.fury.io/rb/regexp-examples.svg)](http://badge.fury.io/rb/regexp-examples) [![Build Status](https://travis-ci.org/tom-lord/regexp-examples.svg?branch=master)](https://travis-ci.org/tom-lord/regexp-examples/builds) [![Coverage Status](https://coveralls.io/repos/tom-lord/regexp-examples/badge.svg?branch=master)](https://coveralls.io/r/tom-lord/regexp-examples?branch=master) +[![Code Climate](https://codeclimate.com/github/tom-lord/regexp-examples/badges/gpa.svg)](https://codeclimate.com/github/tom-lord/regexp-examples) Extends the Regexp class with the methods: `Regexp#examples` and `Regexp#random_example` @@ -111,7 +112,7 @@ Some of the most obscure regexp features are not even mentioned in the ruby docs ## Impossible features ("illegal syntax") The following features in the regex language can never be properly implemented into this gem because, put simply, they are not technically "regular"! -If you'd like to understand this in more detail, check out what I had to say in [my blog post](http://tom-lord.weebly.com/blog/reverse-engineering-regular-expressions) about this gem! +If you'd like to understand this in more detail, check out what I had to say in [my blog post](http://tom-lord.weebly.com/blog/reverse-engineering-regular-expressions) about this gem. Using any of the following will raise a RegexpExamples::IllegalSyntax exception: