Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
Scout
1.0.2
Private/Find-Directives.ps1
function
Find-Directives
{
# [OutputType([MatchCollection])]
param
(
[string]
$text
)
return
[regex]
::
Matches
(
$text
,
'\$+?\{.*?\}\$'
)
}