# RegXing [![Build Status](https://travis-ci.org/danascheider/regxing.svg?branch=master)](https://travis-ci.org/danascheider/regxing) [![Coverage Status](https://coveralls.io/repos/github/danascheider/regxing/badge.svg?branch=master)](https://coveralls.io/github/danascheider/regxing?branch=master) [![Code Climate](https://codeclimate.com/github/danascheider/regxing/badges/gpa.svg)](https://codeclimate.com/github/danascheider/regxing) RegXing is a tool that takes regular expressions as input and returns strings matching them! ## Installation You can install RegXing using
gem install regxing
, or alternatively, you can add to your project's Gemfile: gem "regxing", "~> 0.0.1"
## Usage
generator = RegXing::Generator.new(/\d{3}-\d{2}-\d{4}/)
# => 891-27-2800