Module yy_typings::utils[][src]

Two utilities which may be useful for downstream crates:

  1. TrailingCommaUtility will remove all trailing commas from a given input string. It is a wrapper over a Regex pattern.
  2. PathValidator will validate any paths as valid Gms2 names for a resource.

Structs

ResourceNameValidator

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.

TrailingCommaUtility

here?