in reply to Re^22: Reusing a complex regexp in multiple spots, escaping the regexp
in thread Reusing a complex regexp in multiple spots, escaping the regexp

state is implemented sensibly. The /o implementation needs updating to behave like state. It's a hacky leftover from when the perl internals were first altered to be thread-safe.

Dave.

  • Comment on Re^23: Reusing a complex regexp in multiple spots, escaping the regexp