A compound of formula (I) wherein R1 to R15, P1, P2, A, B and Q are as defined in the claims and pharmaceutically acceptable salts and esters thereof, are disclosed. The compounds of formula (I) possess utility as matriptase inhibitors and are useful in the treatment of matriptase dependent conditions, particularly cancer.