From: 1337p337 <1337p337@...> Date: 2006-03-10T13:50:52+09:00 Subject: Re: why does this regular expression match? The asterisk means "Zero or more of these". You may want to use /a+/ (One or more 'a's). On 09/03/06, dominique.plante@gmail.com wrote: > Using Test::Unit: > > r1 = /a*/ > assert_nil,'A' =~ r1 > > The error I get implies that it would match in the same way that the > following would match > 'a' =~ r1 > > Can anyone offer any suggestions? > > Thanks! > Dominique > > ps. done a google search on Test::Unit lately? > > >