Cannot get Regex_Search to work

Within my application I use the Action Regex_Search in which I validate input parameter Text "wip" with the followin Pattern:

"^.*[A-Z].*$"

this results in Output paramater Found True, Which shouldn't be the case.

When I try the exact same pattern for text "wip" on the online site https://regex101.com/ it returns the correct response, which is Found 0.

Is there anyone that can help me on how to use the Regex_Search Pattern correctly in OutSystems?

Thank you in advance!

Solution

Hi Johannes,

If I'm not mistaken you forgot to set the IgnoreCase attribute of the Regex_Search action to false.

By default the Regex_Search action will ignore case-sensitive regex.


Kind regards,
Glenn

Solution

glenn michiels wrote:

Hi Johannes,

If I'm not mistaken you forgot to set the IgnoreCase attribute of the Regex_Search action to false.

By default the Regex_Search action will ignore case-sensitive regex.


Kind regards,
Glenn


That you Glenn. That solved my issue!

Johannes Schneider wrote:

glenn michiels wrote:

Hi Johannes,

If I'm not mistaken you forgot to set the IgnoreCase attribute of the Regex_Search action to false.

By default the Regex_Search action will ignore case-sensitive regex.


Kind regards,
Glenn


That you Glenn. That solved my issue!

Glad I could help!