On 27 Aug 2002, Uri Guttman wrote: : >>>>> "LW" == Larry Wall <[EMAIL PROTECTED]> writes: : LW> m{^\s*[ : LW> "$stuff:=(.*?)" | : LW> $stuff:=(\S+) : LW> ]}; : : couldn't that be reduced to: : : m{^\s* $stuff := [ "(.*?)" | (\S+) ] }; : : the | will only return one of the grabbed chunks and the result of the : [] group would be assigned to $stuff.
That too. Larry