Matching regions in the plane using non-crossing segments