Printable idea sheet
check_wildcard_sparse
reqlan rq/core_analysis/check.rq:114
Katz 0.417
A wildcard_reference is for many matches.
check recounts each wildcard against the full idea catalog, not the stored edges, so files that the indexer visited first still get the true match count.
How 0 - match and 1 - match rows are handled is controlled by check_wildcard_zero and check_wildcard_one ( both default `warn` ).
Ignore a site with comment_reference_ignore.
The language server already warns when a wildcard matches nothing ( wildcard_references ); it also warns when the match count is 1.
Related: check_wildcard_sparse wildcard_references
- implementation
- broken.rs, extract.rs, format-broken-refs.ts, reqlan-validator.ts
- status
- done
- tests
- broken_references.rs:check_warns_when_a_wildcard_matches_zero_or_one_idea, broken_references.rs:check_skips_sparse_wildcard_warning_on_rq_ignore_error, check.test.ts:warns on wildcards with 0 or 1 match, format-broken-refs.test.ts:marks wildcard sparse rows as warnings, wildcard-references.test.ts:warns when wildcard matches nothing, wildcard-references.test.ts:warns when wildcard matches only one idea
Interactive page: check_wildcard_sparse