Searched refs:matchGroupName (Results 1 – 18 of 18) sorted by relevance
| /expo/packages/expo-router/src/__tests__/ |
| H A D | matchers.test.node.ts | 5 matchGroupName, 18 describe(matchGroupName, () => { 20 expect(matchGroupName('[[...foobar]]')).toEqual(undefined); 21 expect(matchGroupName('[[foobar]]')).toEqual(undefined); 22 expect(matchGroupName('[...foobar]')).toEqual(undefined); 23 expect(matchGroupName('[foobar]')).toEqual(undefined); 24 expect(matchGroupName('(foobar)')).toEqual('foobar'); 25 expect(matchGroupName('(foo,bar)')).toEqual('foo,bar'); 26 expect(matchGroupName('((foobar))')).toEqual('(foobar)'); 27 expect(matchGroupName('(...foobar)')).toEqual('...foobar'); [all …]
|
| /expo/packages/expo-router/build/ |
| H A D | matchers.js | 3 …ions = exports.getContextKey = exports.getNameFromFilePath = exports.matchGroupName = exports.matc… 17 function matchGroupName(name) { function 20 exports.matchGroupName = matchGroupName; 49 if (matchGroupName(v) == null) {
|
| H A D | sortRoutes.js | 28 const aIndex = a.route === 'index' || (0, matchers_1.matchGroupName)(a.route) != null; 29 const bIndex = b.route === 'index' || (0, matchers_1.matchGroupName)(b.route) != null;
|
| H A D | matchers.d.ts | 6 export declare function matchGroupName(name: string): string | undefined;
|
| H A D | sortRoutes.js.map | 1 …matchGroupName } from './matchers';\n\nexport function sortRoutes(a: RouteNode, b: RouteNode): num…
|
| H A D | getRoutes.js | 97 const groupName = (0, matchers_1.matchGroupName)(node.route); 165 const match = (0, matchers_1.matchGroupName)(route); 380 if ((0, matchers_1.matchGroupName)(route.route)) {
|
| H A D | matchers.js.map | 1 …matchGroupName(name: string): string | undefined {\n return name.match(/^(?:[^\\\\(\\\\)])*?\\(([…
|
| H A D | getRoutes.js.map | 1 …matchGroupName,\n removeSupportedExtensions,\n stripGroupSegmentsFromPath,\n stripInvisibleSegm…
|
| /expo/packages/expo-router/src/ |
| H A D | sortRoutes.ts | 2 import { matchGroupName } from './matchers'; 28 const aIndex = a.route === 'index' || matchGroupName(a.route) != null; 29 const bIndex = b.route === 'index' || matchGroupName(b.route) != null;
|
| H A D | matchers.tsx | 14 export function matchGroupName(name: string): string | undefined { 46 if (matchGroupName(v) == null) {
|
| H A D | getRoutes.ts | 7 matchGroupName, 134 const groupName = matchGroupName(node.route); 224 const match = matchGroupName(route); 482 if (matchGroupName(route.route)) {
|
| /expo/packages/expo-router/src/fork/ |
| H A D | getStateFromPath.ts | 11 import { matchGroupName, stripGroupSegmentsFromPath } from '../matchers'; 214 .filter((part) => matchGroupName(part) == null); 219 const bParts = b.pattern.split('/').filter((part) => matchGroupName(part) == null); 574 if (matchGroupName(it) != null) {
|
| H A D | getPathFromState.ts | 6 import { matchDeepDynamicRouteName, matchDynamicName, matchGroupName } from '../matchers'; 70 matchGroupName(segment) != null || 474 if (!preserveGroups && matchGroupName(p) != null) {
|
| /expo/packages/@expo/cli/src/export/ |
| H A D | exportStaticAsync.ts | 67 function matchGroupName(name: string): string | undefined { function 288 if (matchGroupName(head)) {
|
| /expo/packages/expo-router/build/fork/ |
| H A D | getStateFromPath.js | 165 .filter((part) => (0, matchers_1.matchGroupName)(part) == null); 169 …const bParts = b.pattern.split('/').filter((part) => (0, matchers_1.matchGroupName)(part) == null); 421 if ((0, matchers_1.matchGroupName)(it) != null) {
|
| H A D | getPathFromState.js | 67 (0, matchers_1.matchGroupName)(segment) != null || 364 if (!preserveGroups && (0, matchers_1.matchGroupName)(p) != null) {
|
| H A D | getStateFromPath.js.map | 1 …matchGroupName, stripGroupSegmentsFromPath } from '../matchers';\n\ntype Options<ParamList extends…
|
| H A D | getPathFromState.js.map | 1 …matchGroupName } from '../matchers';\n\ntype Options<ParamList extends object> = {\n initialRoute…
|