Skip to content

Commit c9511c2

Browse files
feat: Gradient.GradientTypePattern ( Fixes #15 )
1 parent de7f74b commit c9511c2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<#
2+
.SYNOPSIS
3+
Gets the gradient type pattern
4+
.DESCRIPTION
5+
Gets the regular expression used to identify a gradient type
6+
.EXAMPLE
7+
Get-Gradiant '#4488ff' ,'#224488' |
8+
Select-Object -Expand GradientTypePattern
9+
#>
10+
'(?:repeating-)?(?>conic|linear|radial)(?:-gradient)?$'

0 commit comments

Comments
 (0)