Build, test, and debug regular expressions
This PCRE regex matches lines or strings that contain the literal text 'Error:', but only if they do not start with the word 'Current '. It uses a negative lookahead at the start of the string to filter out specific matches. This pattern is highly useful for parsing log files, filtering system outputs, or processing error streams where certain prefixes denote active states rather than actual errors.