3

I am trying to use a regex pattern in Webmethods map step. The problem is to ignore the case of matching string using regex modifiers.
E.g.:

input is 'TEST' or 'test' or 'Test'

Branch on 'input'
/test/i : MAP

But as I read on different webmethods forums that using access modfiers in Webmethods is a limitation. So, I am unable to use '/i'.
Any idea or hint on how I could do it?
Thanks in advance.

Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563
Dev Utkarsh
  • 1,377
  • 2
  • 18
  • 43

1 Answers1

7

You can make use of the inline modifier (?i):

/(?i)test/
Wiktor Stribiżew
  • 607,720
  • 39
  • 448
  • 563