MustachePlaceholders/public/Test-PlaceholderString.ps1

function Test-PlaceholderString {
    [cmdletbinding()]
    param (
        [string] $str,
        [string] $regex = $PLACEHOLDER_REGEX
    )
    return $str -match $regex
}