how to make mac use ack as the default regex option

I am trying to write a syntax highlighting setup for nano and need to use the lookbehind function, i have ack installed but my system doesn't use it as the default regex, how can I set it as the default this is the line:

 color brightmagenta "(?<=#include)[[:space]]*[<\"].*[>\"]"

EDIT: im on a mac