cancel
Showing results for 
Search instead for 
Did you mean: 

regex in application modeler

Hi,

I thought that I understand regular expression but now I am not so sure.

We took over a business object and there is an element using regex in application modeler see picture below (it is upper case S and number 1 and star)

36589.png
This actually highlights a window with window title "S22" and I am wondering how come?

Can someone shed some light on this and how it is evaluated in application modeler?

Thank for any hint or explanation.

Regards

Zdenek

1 BEST ANSWER

Helpful Answers

Hi,

I think it might be because of the regex expression that has been used. If you see the below screenshot then you would see that it is matching the character S and the character '1' is more like an optional check which has been put up.:

36587.png
Can you try changing the regular expression to 'S1+' instead and see what you get, it should ideally work I think as you can see below:

36588.png
So I am thinking that since there is a partial match that is reason why application modeller as well is acting up in that way.
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

View answer in original post

2 REPLIES 2

Hi,

I think it might be because of the regex expression that has been used. If you see the below screenshot then you would see that it is matching the character S and the character '1' is more like an optional check which has been put up.:

36587.png
Can you try changing the regular expression to 'S1+' instead and see what you get, it should ideally work I think as you can see below:

36588.png
So I am thinking that since there is a partial match that is reason why application modeller as well is acting up in that way.
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

Hi, Devneet,

hmm, this sounds reasonable. Thanks. for hint.

Regards

Zdenek