Regex capture groups (#275609)

This commit is contained in:
Alex Ross 2025-11-05 17:36:53 +01:00 committed by GitHub
parent 22b4f2308f
commit c15daf9d6d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -133,3 +133,4 @@ function f(x: number, y: string): void { }
- If you create any temporary new files, scripts, or helper files for iteration, clean up these files by removing them at the end of the task
- Do not use `any` or `unknown` as the type for variables, parameters, or return values unless absolutely necessary. If they need type annotations, they should have proper types or interfaces defined.
- Never duplicate imports. Always reuse existing imports if they are present.
- Prefer regex capture groups with names over numbered capture groups.