Why global variable can't be used as a function argument?
Posted: 06 Nov 2018 06:49
I'm new in AM, so maybe I just missing a some vital concept, but here's a problem:
Tried to use condition expression like but it always evaluates as false (global_var is a string ".*text").
But putting the same regex as string literal: working as expected. I'm puzzled 
Tried to use condition expression like
Code: Select all
matches(join(somelist, ","), global_var)
But putting the same regex as string literal:
Code: Select all
matches(join(somelist, ","), ".*text")
