Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
function formStrictForms
import { formStrictForms } from "https://deno.land/x/localekit@2.2.0/util/match/utils/common.ts";

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

Parameters

loose_forms: LooseForms
  • The loose forms to convert.

Returns

The strict forms.