Custom data pattern

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Custom data pattern

L2 Linker

Hi Team 

 

I have a user who has a requirement to add a custom Data Pattern to identify a specific string 

 

Example: 1234/09/4578 

 

(Note the second identifier is a numeric value between [1-9])

 

I set up the data pattern under " Custom Objects --->Data Pattern ---> Add " in the following format to achieve this  "(/d/d/d/d)/-(/d[1-9])/-(/d/d/d/d)" , but this fails with the following error messge 

 

test123 -> pattern -> numbers -> regex '(/d/d/d/d)/-(/d[1-9])/-(/d/d/d/d)' is invalid. can't handle two dfas next to each other in pattern '(/d/d/d/d)/-(/d[1-9])/-(/d/d/d/d)'
test123 -> pattern -> numbers -> regex is invalid

 

But it works without any issues when we put it as  "(/d/d/d/d)/-(/d/d)/-(/d/d/d/d)"

 

Is this an expected behavior?

 

Regards

 

Amogh Gawade 

 

 

 

 

 

 

 

2 REPLIES 2

L2 Linker

Hi Amogh,

 

I would say this is anticipated behavior.  You can not have two strings less than 7 bytes seperated by a wildcard element.

 

-Claude

Hi Claude 

 

Thanks for the reply, any idea how we can get the pattern working then , any input will be highly appreciated 

 

Regards

 

Amogh 

  • 2876 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!