Jenkins Log Parser rules Jenkins Log Parser rules jenkins jenkins

Jenkins Log Parser rules


What you want is a word-boundary anchor, which is \b in most regex flavors. It's zero-width, so it doesn't match any character, just the switch from non-word to word characters.

So your match would become:

error /(?i)\berror\b/

That one regex handles all the cases it looked like you were trying to handle separately: space before or after, colon after, etc.