Module yy_typings::utils
source · [−]Expand description
Two utilities which may be useful for downstream crates:
TrailingCommaUtility
will remove all trailing commas from a given input string. It is a wrapper over a Regex pattern.PathValidator
will validate any paths as valid Gms2 names for a resource.
Structs
Provides validation services for Gms2 Resource Names by running the Regex
of r"[A-z_]\w+"
over the input. For those who don’t speak Regex, it passes
for any input which contains only A-z
, _
, or 0-9
and which does not
begin with 0-9
.
here?