cancel
Showing results for 
Search instead for 
Did you mean: 

Job definition alert source Name pattern filter

former_member237959
Participant
0 Kudos

Hello All,

Currently we are on M33.92-68971. We are Planning to upgrade shortly.

We have created a job definition alert source using the below Name pattern

Name Pattern: \b([a-z0-9_]+)\b(?<!FileCheck)

It will trigger alerts for all jobs except the job "Filecheck". We have a requirement to stop the alerting for all the jobs starting with "NPT_". Can you please advise how to achieve this.

Regards,

Lohit

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member237959
Participant
0 Kudos

Hello Gerben,

When you get a chance, could you please look into this one.

Regards,

Lohit

former_member237959
Participant
0 Kudos

Hi Gerben,

Sorry for the late reply. It throws below error. Please advise.

4:08:34 PM: JCS-102301: Invalid Reg Ex Case Insensitive Name Pattern Syntax: Look-behind group does not have an obvious maximum length near index 38 (?i)\b([a-z0-9_]+)\b(?<!FileCheck|NTP_*)

Regards,

Lohit

gmblom
Active Contributor
0 Kudos

Try the following. Basically adding an or (|)

\b([a-z0-9_]+)\b(?<!FileCheck|NTP_.*)

Regards Gerben