---
lang: en
title: 'API docs: rest.regexprouter.listrouteswithpathvars'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.rest.regexprouter.listrouteswithpathvars.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/rest](./rest.md) &gt; [RegExpRouter](./rest.regexprouter.md) &gt; [listRoutesWithPathVars](./rest.regexprouter.listrouteswithpathvars.md)

## RegExpRouter.listRoutesWithPathVars() method

<b>Signature:</b>

```typescript
protected listRoutesWithPathVars(): RegExpRouteEntry[];
```
<b>Returns:</b>

`RegExpRouteEntry[]`


