Archive of stories published by Sean’s Blog

Express route param regex validation

Recently, I came across some confusion in the Express 4.x API documentation regarding how to use regex to validation route parameters. It seems there’s been an update and the method to accomplish this differs from version 4.11 and 4.12.

These were the top 10 stories published by Sean’s Blog; you can also dive into yearly archives: 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2022, and 2023.