$routes->get('contract2pdf/(:num)/[FI]?', 'Contract2pdf::getpdf/$1');
Hello, I would allow in $2 only F, I or nothing, but this regex is not working in the routes of ci4. What is wrong?
question from:https://stackoverflow.com/questions/65951904/which-regex-works-for-ci4-routes