public
Description: A collection of common Regexps for Ruby. Validation for emails, uk postcode, etc.
Homepage:
Clone URL: git://github.com/matthewrudy/regexpert.git
name age message
file MIT-LICENSE Loading commit data...
file README Sun Dec 07 09:42:58 -0800 2008 initial commit [matthewrudy]
file Rakefile Sun Dec 07 09:42:58 -0800 2008 initial commit [matthewrudy]
directory lib/
file regexpert.gemspec
directory test/ Sun Dec 07 09:42:58 -0800 2008 initial commit [matthewrudy]
README
Regexpert
=========

Regexpert is an attempt to remove the need to worry about which regular expression to use for validating an email, a 
postcode, or a social security number.
Its inspired by the django.contrib.localflavor libraries and Datamapper dm-more's dm-validations module.

Example
=======

Instead of googling "email regexp", and then coming up with numerous arguments about the right regexp to use,
just use Regexpert

  validates_format_of :email, :with => Regexpert::Format::EmailAddress

BOOM!!!
no work, no worries.

Copyright (c) 2008 [Matthew Rudy Jacobs], released under the MIT license