Filebeat Processor regex case insensitive

I think I'm being an idiot here, but my filebeat 6.3.2 drop_event processor regex condition drops the correct events with
'^\/health$'

but when I try to make it case insensitive with the following, it doesn't drop anything.
'^(?i)\/health$'

What am I missing?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.