Forum Discussion

Wire's avatar
Oct 22, 2013

STREAM::match with case insensitivity

TMOS 11.3.0 HF6

 

Is it possible to STREAM::match or STREAM::expression with case insensitivity?

 

Example values which need to be evaluated as the same value: Host_ONE / HOST_ONE / host_one

 

Thanks.

 

3 Replies

  • Not easily, unfortunately. You can try this though:

    STREAM::expression {@[Hh][Oo][Ss][Tt]_[Oo][Nn][Ee]@host_one@}
    
  • 🙂

    Do you know if you could you use (?i) like this, does it need escaping:

    STREAM::expression {@(?i)host_one@host_two@}