Protip: InsightConnect’s Pattern Match (re2) won’t match non-breaking space using
\s. To match non-breaking space, use
This is especially hard to debug since the Jobs Output UI displays both normal-space and non-break space the same.
I encountered this when failing to pattern matching with my Slack Bot command. The command will pattern match successfully when I type it into Slack the first time, but will then fail to pattern match when I copy and paste that same command into Slack. Turns out Slack will sometimes (not sure when) replace your whitespaces with non-breaking space.
It would be nice if IC’s Slack Bot replaced occurrences of non-breaking, or displayed non-breaking better in the UI.