Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/localekit/util/match/utils/common.ts

A translation plugin for Deno
Latest
import * as localekit from "https://deno.land/x/localekit@2.2.0/util/match/utils/common.ts";

Variables

Regular expression pattern for matching zero or more whitespace characters.

Separator used in the match utility.

Creates a regular expression from an array of string parts.

Functions

Forms a loose bordered object of RegExps with different forms of the given key and parts.

Converts a set of loose forms into strict form RegExps by using the strictRegex function to add entire string matching.

Creates a strict regular expression by concatenating the given parts with "^" at the beginning and "$" at the end.

Type Aliases

Represents a collection of loose forms for matching strings. By loose, we mean that they don't have to match from the start to the end of the entire string.

Represents a collection of regular expressions used for strict form matching. By strict, we mean that the entire string must match the regular expression.