question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Routes of only numbers in filename do not work

See original GitHub issue
src/pages/index.tsx - yes
src/pages/01.tsx - no
src/pages/three/index.tsx - yes
src/pages/three/01.tsx - no
src/pages/three/02/index.tsx - yes
src/pages/three/2022.tsx - no
src/pages/three/foo.tsx - yes

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
lokhmakovcommented, Sep 7, 2022

Thanks, great to hear! 😃

1reaction
oedotmecommented, Sep 7, 2022

Just released 1.5.1 to include:

  • Supporting uppercase letters and underscores in filenames (along with lowercase letters and digits you just added 🎉)
  • Supporting .jsx extension for _app|404 and src/pages/** files
Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Glob doesn't recognize file pattern with arbitary ...
"Python Glob doesn't recognize file pattern with arbitary numbers 2 to 12 in a path string" Yes; neither glob nor regex is an...
Read more >
Naming Files, Paths, and Namespaces - Win32 apps
On many file systems, a file name will contain a tilde (~) within each component of the name that is too long to...
Read more >
basename - Manual - PHP
Given a string containing the path to a file or directory, this function will return the trailing name component. Note: basename() operates naively...
Read more >
Is there a way to print out filename and line number separated ...
Using rg -l prints out only the line numbers, but what I would like is something like the following: path/to/file:107 path/to/file:120 ...
Read more >
os.path — Common pathname manipulations — Python 3.11 ...
All of these functions accept either only bytes or only string objects as their parameters. The result is an object of the same...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found