Re: A5: thread safety of matching

2002-06-05 Thread Dan Sugalski
At 4:52 PM -0700 6/5/02, David Whipp wrote: >As always, most of it is great. so only the niggles get discussed. > >On page 7, the following example is given: > > $oldpos = pos $string; > $string =~ m/... <( .pos == $oldpos )> .../; > >This implies that match position is associated with the

A5: thread safety of matching

2002-06-05 Thread David Whipp
As always, most of it is great. so only the niggles get discussed. On page 7, the following example is given: $oldpos = pos $string; $string =~ m/... <( .pos == $oldpos )> .../; This implies that match position is associated with the string. This worries me. If 2 threads are matching on