Skip to content

Commit fc9dfee

Browse files
feat: Turtle.get_PathData Precision and docs ( Fixes #225 )
Fixing pattern (the joy of exponential notation)
1 parent 01a9870 commit fc9dfee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Types/Turtle/get_PathData.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
# Walk over our steps
6969
foreach ($step in
70-
$this.Steps -join ' ' -replace ',',' ' -split '(?=\p{L})' -ne ''
70+
$this.Steps -join ' ' -replace ',',' ' -split '(?=[\p{L}-[E]])' -ne ''
7171
) {
7272
# If our precision is zero or nothing, don't round
7373
if (-not $precision) {

0 commit comments

Comments
 (0)