You shouldn’t need to escape characters in a character class. The hyphen needs to be the first or last character in a character class so it’s not interpreted as part of a character range. Here’s a related article: Regex Tutorial: POSIX Bracket Expressions
Aaron, thanks for your help. I found the issue was no bug… I have two copies of the irule with the same name in different partitions, and was modifying the wrong one layer 8 problems are always the best.
For the record, both stream expressions work perfectly, both escaped and unescaped hyphen.