@loopback/docs
Version:
Documentation for LoopBack 4
30 lines (19 loc) • 740 B
Markdown
lang: en
title: 'API docs: rest.regexprouter.(constructor)'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.regexprouter.(constructor).html
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/rest](./rest.md) > [RegExpRouter](./rest.regexprouter.md) > [(constructor)](./rest.regexprouter.(constructor).md)
## RegExpRouter.(constructor)
Constructs a new instance of the `RegExpRouter` class
<b>Signature:</b>
```typescript
constructor(options?: RestRouterOptions);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| options | <code>RestRouterOptions</code> | |