FX-137 - reinstated get_pattern for poco version