issues Search Results · repo:phenax/typed-regex language:TypeScript
Filter by
4 results
(66 ms)4 results
inphenax/typed-regex (press backspace or delete to remove)Current:
const regex = TypedRegEx( ^\w+(@(? version [a-z0-9-_.]+))?$ , gi );
const captures = regex.captures(...); // { version: string } | undefined;
Expected:
const regex = TypedRegEx( ^\w+(@(? version ...
Nokel81
- Opened on Mar 29, 2022
- #7
Description:
If a named capture group has some optional grouping itself then the whole group is optional.
Test case:
Current:
const regex = TypedRegEx( ^(? name ((@\\w[-\\w]*\\/)?\\w[-\\w]*))$ , gi ...
Nokel81
- Opened on Mar 29, 2022
- #6
Suggested
[here](https://www.reddit.com/r/javascript/comments/nxi4g9/typesafe_regular_expression_matching_with_named/h1g2n9p?utm_source=share
utm_medium=web2x context=3)
TypedRegEx Regex #captureAll
: ...
enhancement
phenax
- Opened on Jun 12, 2021
- #3
Using non-capturing group ((?:) causes this error reported
[here](https://www.reddit.com/r/javascript/comments/nxi4g9/typesafe_regular_expression_matching_with_named/h1fwndi?utm_source=share
utm_medium=web2x ...
bug
phenax
- Opened on Jun 12, 2021
- #1

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.