@micro-router
    Preparing search index...

    Function matchRegexp

    • A path that will succeed if the provided regexp matches.

      The regexp must capture two groups:

      • the first group will be extracted as the string params
      • the second must be the remainder of the input path to process

      Type Parameters

      • P extends string = "[string]"

      Parameters

      Returns Path<P, string>