in reply to Re^2: Comparing string to array elements
in thread Comparing string to array elements

Yes, I used the s modifier in both of the regex's in my example. I changed my node a little to make clear I was saying my example might not be the most efficient. I wasn't referring to the use of the s modifier.

  • Comment on Re^3: Comparing string to array elements

Replies are listed 'Best First'.
Re^4: Comparing string to array elements
by R56 (Sexton) on Jan 14, 2017 at 02:49 UTC

    Sorry for not responding earlier. I agree, it might be easier to do this than to compare 2 arrays. It's not as efficient as I've already tested it, but I'll work around it and see what i can do. Many thanks!