rsnext/test
JJ Kasper 4d291bd810
Use regex lexer for gathering named groups from has (#23626)
This is a follow-up to https://github.com/vercel/next.js/pull/23588 to update to use a regex lexer to gather the named regex groups instead of attempting to gather them through executing the regex since it can fail to gather the regex groups when they are using specific matching. This also ensures we don't pass the value as a segment when value is defined and it doesn't use a capture group. Additional tests are added to cover these cases and documentation updated to reflect this. 

Closes: https://github.com/vercel/next.js/issues/23415

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added

## Documentation / Examples

- [x] Make sure the linting passes
2021-04-13 12:34:51 +00:00
..
.stats-app Add nccing AMP optimizer (#21980) 2021-02-11 09:55:56 +00:00
acceptance Fix wrong source path resolved from the stack frame to not expose internal code (#23203) 2021-03-20 19:34:45 +00:00
eslint-plugin-next Break-up unit tests to separate step (#18992) 2020-11-10 12:25:50 -05:00
integration Use regex lexer for gathering named groups from has (#23626) 2021-04-13 12:34:51 +00:00
isolated Load next.config.js async (#22578) 2021-02-27 00:29:32 +00:00
lib Ensure no-op export returns without error (#23752) 2021-04-06 17:12:23 +00:00
package-managers/pnpm Add pnpm integration test (#17882) 2021-01-11 17:50:12 +01:00
unit Update err.sh links to use nextjs.org/docs/messages instead (#23353) 2021-03-29 10:25:00 +02:00
.babelrc Include all files in Prettier (#17050) 2020-09-14 02:53:19 +00:00
.gitignore Universal Webpack (#3578) 2018-01-30 16:44:44 +01:00
jest-environment.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-setup.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
jest-global-teardown.js Update CI/test set up (#9499) 2019-11-25 13:19:45 -05:00
jest-setup-after-env.js Only retry tests on CI (#12998) 2020-05-17 12:10:02 -04:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00
tsconfig.json Update tsconfig for tests 2020-01-21 15:29:39 -06:00