From: Ari Brown Date: 2007-09-09T00:38:34+09:00 Subject: [ANN] TextualRegexp 1.0.0 Released TextualRegexp version 1.0.0 has been released! * * ## FEATURES/PROBLEMS: Incompatible with 1.9, as far as we know. Technically, it supports everything current RegExp does. ## SYNOPSIS: Password = TextualRegexp.new do anchor :beginning group :capture do any :letter repeat(4..13) do any :char end any :digit end end Or the ever-loved email address.... Email = TextualRegexp.new do anchor :beginning group :capture do at_least_once { any "a-z" + "0-9" + "_" + "." } end literal "@" group :capture do repeat(1..4) do at_least_once { any "a-z" + "0-9" + "_" } literal "." end any %w{com edu org co.uk com.au} end end Changes: ## 1.0.0 / 2007-09-06 * 1 major enhancement * Birthday! * * -------------------------------------------------------| ~ Ari crap my sig won't fit