path_matcher.url_util

Auxiliary utilities for dealing with URLs, besides the main matching logic.

Members

Functions

popSegment
string popSegment(I segments, uint idx)

Helper function to pop a single segment from an array of segments, and increment a referenced index variable.

toSegments
int toSegments(string path, string[] store)

Extracts segments from a slash-separated URL path and stores them in a given store array which has been pre-allocated.

Meta