Types/Shape/get_ShapeTypePattern.ps1

$shapeHelp = $this.Help

"(?>$($shapeHelp.Keys -join '|'))"