[rspec-users] regular expression hang ruby.exe

Ben Lovell benjamin.lovell at gmail.com
Wed May 8 07:48:43 UTC 2013


On 8 May 2013 08:22, Mattias A. <lists at ruby-forum.com> wrote:

> Hi,
>
> I use an regular expression to verify that my string in time_on_site is
> correct. This works when the string match, but if it doesn't the test
> get hanged. So I need to quit(ctrl+c) the script and also close ruby.exe
> *32 in Task manager. Any ides how I can handle this?
>
> time_on_site.should match(/^00:[0-5][0-9]$/)
>
>
> Best regards
> Mattias
>
>
Hey Mattias,

Very peculiar. Could you produce the smallest possible script to reproduce
this?

Thanks,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20130508/ed21c0af/attachment.html>


More information about the rspec-users mailing list