In its simplest form this would be
/boat\??$/