RegEx Case Insensitive
Posted: Thu Apr 18, 2019 9:56 am
Hi everyone,
i'm trying to make a switch in a flow using regex matching on job.name.
for example
if i have a job called 123.MICKEY
and the regex .*MICKEY.*
There is the match
but if i use .*mickey.* it is not
this is because MICKEY in job.name is UPPERCASE....
so, i look at the the reference guide i saw that using /.*mickey.*/i there would be the match for all cases
But it seems that this syntax won't work on switch, neither the /.*MICKEY.*/i match the job.name now.
Any help?
thank you
i'm trying to make a switch in a flow using regex matching on job.name.
for example
if i have a job called 123.MICKEY
and the regex .*MICKEY.*
There is the match
but if i use .*mickey.* it is not
this is because MICKEY in job.name is UPPERCASE....
so, i look at the the reference guide i saw that using /.*mickey.*/i there would be the match for all cases
But it seems that this syntax won't work on switch, neither the /.*MICKEY.*/i match the job.name now.
Any help?
thank you