in reply to Re: Perl regexp matching is slow??
in thread Perl regexp matching is slow??

I think you'll find it difficult to abort the regexp engine since perl's safe-signals can be caught before and after the pattern match but not during. If you were using POSIX::sigaction, perhaps.

⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

Replies are listed 'Best First'.
Re^3: Perl regexp matching is slow??
by TimToady (Parson) on Feb 02, 2007 at 19:12 UTC
    Why not make long-running instructions like pattern matches check for safe signals periodically?