IssueRaiser

Regex-validated string types (feedback reset)

This is a pickup of #6579. With the addition of #40336, a large number of those use cases have been addressed, but possibly some still remain. **Update 2023-04-11**: Reviewed use cases and [posted a write-up](https://github.com/microsoft/TypeScript/issues/41160#issuecomment-1503653578) of our current evaluation ## Search Terms regex string types ## Suggestion Open question: For people who had upvoted #6579, what use cases still need addressing? Note: Please keep discussion on-topic; moderation will be a bit heavier to avoid off-topic tangents ## Examples (please help) ## Checklist My suggestion meets these guidelines: * [?] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [?] This wouldn't change the runtime behavior of existing JavaScript code * [?] This could be implemented without emitting different JS based on the types of the expressions * [?] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) * [?] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).

Posted by RyanCavanaugh on Oct 19, 2020, 3:10 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.3,000 issues0 comments

github (Logistics)

Regex-validated string types (feedback reset)

RyanCavanaughOct 19, 2020, 3:10 PM

This is a pickup of #6579. With the addition of #40336, a large number of those use cases have been addressed, but possibly some still remain. **Update 2023-04-11**: Reviewed use cases and [posted a write-up](https://github.com/microsoft/TypeScript/issues/41160#issuecomment-1503653578) of our current evaluation ## Search Terms regex string types ## Suggestion Open question: For people who had upvoted #6579, what use cases still need addressing? Note: Please keep discussion on-topic; moderation will be a bit heavier to avoid off-topic tangents ## Examples (please help) ## Checklist My suggestion meets these guidelines: * [?] This wouldn't be a breaking change in existing TypeScript/JavaScript code * [?] This wouldn't change the runtime behavior of existing JavaScript code * [?] This could be implemented without emitting different JS based on the types of the expressions * [?] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.) * [?] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).

Comments (0)

No comments yet. Start the discussion.

Comment on this issue