DragonFly BSD
DragonFly bugs List (threaded) for 2006-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Trivial test script crashes perl


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Sun, 27 Aug 2006 22:21:38 -0400 (EDT)

On Sun, August 27, 2006 6:32 pm, walt wrote:
> This is a followup to my post about pkgsrc packages failing
> because of perl crashes.  I've spent a few days trying to
> narrow down the cause, and the attached perlscript is my
> best effort.  {I think of it as perl haiku ;o)
>
> Just run 'perl mytest.pl' and watch for the error.
>

I got no output (as it should be) but no crash on OS X 10.4 or DragonFly
1.4.4.  The regex you are using matches zero or more incidences of: either
any single character preceded by a backslash, or any character that isn't
a backslash, and it does so maximally.  It produces two matches because of
the parentheses: the whole string, and 'y'.





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]