matchesPattern

fun matchesPattern(pattern: String, input: String): Boolean(source)

Check if a path matches a template

A template can contain * as a wildcard

Return

if the input matches the template

Since

0.5.0

Parameters

pattern

The template

input

The input