On Mon, Jan 12, 2009 at 11:35 PM, Tim Glen <[email protected]> wrote: > >> This is giving me an error: >> >> When /?:(log|sign)?:(i|o)n success message/ do >> Then "welcome message" >> end >> > > > I could be wrong, but I believe you're looking for this instead? > When /(?:log|sign)(?:i|o)n success message/ do >
Actually - it should be: /(?:log|sign) (?:i|o)n success message/ (a space was missing too) http://www.rubular.com Aslak > hope that helps, > timg > > _______________________________________________ > rspec-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
