Paths

Useful regular expressions for routing. Note that every regular expression in this enum is enclosed in a capturing group.

Values

ValueMeaning
signedByte`(1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])`

Matches a number between 0 and 255.

integer`([0-9]{1,9})`

Matches a number between 0 and 999,999,999.

day`(3[01]|[12][0-9]|[1-9])`

Matches a number between 1 and 31.

month`([1-9]|1[0-2])`

Matches a number between 1 and 12.

Meta