Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function: regex()

regex(pattern): PathMatch

A regex path matcher for the mock server’s respond/requestCount/lastRequest/requests.

Parameters

pattern

string

Returns

PathMatch