Added support for triangle refinements to regularRefinementPattern().