Hi guys any one know what i am missing!!
I am using Gideons Java library and i want to add a layer7-protocol regex with the following command
con.execute("/ip/firewall/layer7-protocol/add name=test regexp=\"^(\\\\x13bittorrent protocol|azver\\\\x01\\$|get /scrape\\\\\\?info_hash=get /announce\\\\\\?info_hash=|get /client/bitcomet/|GET data\\\\\\?fid=)|d1:ad2:id20:|\\\\x08'7P\\\\)[RP]\"");
And i keep getting:
Exception in thread "main" me.legrange.mikrotik.MikrotikApiException: failure: bad regexp: unmatched ()..
Thanks in advance