Checking for regex match of attribute values in a script

Cantor, Scott cantor.2 at osu.edu
Wed Feb 21 14:58:04 EST 2018


> Interesting suggestion, David. I had already coded a solution with a for loop,
> but your solution is probably much more efficient. I could make another
> attribute that’s a mapped attribute and that does the regex mapping then
> use its results in my script. This would, I assume, be more efficient code as I
> assume the mapped attribute code behind the scenes is more efficient than
> iterating over all values of the attribute to do regex matches. Is that
> assumption true, Scott?

I doubt it, there's no other way it really could be done.

-- Scott



More information about the users mailing list