Test, validate and match regular expressions
This PCRE regex extracts content between 'proxy for task [' and 'from job' markers. The \K construct resets the match start point, excluding the prefix from results, while the positive lookahead (?=from job) stops matching at that boundary without consuming it. Ideal for parsing log files or structured text to isolate task identifiers or descriptions from proxy/job-related messages.