Fixed Juniper regex so they compile on more than OSX