@gruhn/regex-utils
    Preparing search index...

    Function string

    • Creates a regex that matches a string of literal characters. A shorthand for seq([singleChar(...), singleChar(...), ...]).

      Parameters

      • str: string

      Returns StdRegex

      string('abc') // like /abc/