in reply to Re: Re: This looks like someone sneezed and hit the keyboard
in thread This looks like someone sneezed and hit the keyboard

Because for the match to succeed, one of the three (optA|optB|optC) options has to match. With the .* at the front, it will basically start at the end of the string and work backwards until it finds one of the alternates.

The \s? at the end is useless though (unless $& is used).

  • Comment on Re: Re: Re: This looks like someone sneezed and hit the keyboard