You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enhancementIdeas for improvements of existing features and rules.good first issueIssue to be taken up by new contributors yet unfamiliar with the project.
When we wrap regex literals as a function, its return type will be error by large_tuple rule.
It would be happier that some option to ignore Regex<(Substring, {multiple groups})> on large_tuple rule.
example:
funcmatchFooBar(instring:String)->Regex<(Substring,foo:Substring,Substring?,bar:Substring?)>.Match?{ // <- 🚫 Tuples should have at most 2 members (large_tuple)
try!#/content header; foo="(?<foo>.*?)"(; bar="(?<bar>.*?)")?/#.firstMatch(in:string)}
enhancementIdeas for improvements of existing features and rules.good first issueIssue to be taken up by new contributors yet unfamiliar with the project.
Activity
[-]Suppress `large_tuple` for `Regex`[/-][+]Suppress `large_tuple` for Swift Regex[/+]SimplyDanny commentedon Nov 14, 2025
This should be suppressible by a new option.