I am using GitHub code search to find Angular versions based on a regex pattern. The goal is to categorize the results according to the identified Angular versions. #102615
-
Select Topic AreaQuestion Body"I have numerous Angular repositories, each with different versions ranging from 4 to 16. I aim to refine my code search to retrieve repositories specifically for each version like for example -> version 5 with this query '/"@angular/core": "[^]?5.."/' works on the GitHub search page, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
To categorize Angular versions in GitHub repos: Escape slashes: Use Mind rate limits: Avoid hitting your API request limit, which can return empty results. Double-check parameters: Ensure you're using the correct endpoint ( Consider alternatives: Try GraphQL API, GitHub CLI, or custom parsing for fine-grained control. Test your refined query directly on GitHub search first for accuracy. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Thanks @naveen-98 , |
Beta Was this translation helpful? Give feedback.
-
@kaushalgupta94 unfortunately at this time, the REST API does not support regular expressions like the web UI. It's on our roadmap to fix, but has been delayed due to higher priority items. There's a dedicated discussion for it: https://github.com/orgs/community/discussions/9991 |
Beta Was this translation helpful? Give feedback.
@kaushalgupta94 unfortunately at this time, the REST API does not support regular expressions like the web UI. It's on our roadmap to fix, but has been delayed due to higher priority items.
There's a dedicated discussion for it: https://github.com/orgs/community/discussions/9991