Lightweight and flexible URL pattern matching in JavaScript.