RegexpLibrary is a collection of regular expressions for general use. They are loosely categorized with their primary uses.
Add this line to your application's Gemfile:
gem 'regexp_library'
And then execute:
$ bundle
Or install it yourself as:
$ gem install regexp_library
require 'regexp_library'
module Foo
include RegexpLibrary::IP
end
Add more commonly used regular expressions, such as those found in Perl's Regexp::Common.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request