Fix CTest alternation patterns in docs #1428

Closed
JustinDCosta wants to merge 1 commit from upstream-pr/1435 into main
JustinDCosta commented 2026-11-24 11:29:59 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JustinDCosta on 2026-11-24T11:29:59Z.


Summary

  • Correct CTest regular-expression alternations in README.md and AGENTS.md.
  • Use | for alternatives so the documented filters select their intended test names.

Verification

  • Confirmed the corrected patterns match the intended test names and the previous script-state pattern matched none.
  • python -B tests/docs_links_check.py passed (16 Markdown files, 322 links).
  • git diff --check passed.

Refs #218

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6580773664 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1435). Originally posted by [JustinDCosta](https://github.com/JustinDCosta) on 2026-11-24T11:29:59Z. --- ## Summary - Correct CTest regular-expression alternations in README.md and AGENTS.md. - Use | for alternatives so the documented filters select their intended test names. ## Verification - Confirmed the corrected patterns match the intended test names and the previous script-state pattern matched none. - python -B tests/docs_links_check.py passed (16 Markdown files, 322 links). - git diff --check passed. Refs #218
upstream-sync closed this pull request 2026-11-24 12:02:59 +00:00
R0Y00 commented 2026-11-24 12:03:00 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T11:36:24Z.

Review: CHANGES_REQUESTED


GitHub's GFM renderer confirms that the existing escaped pipe renders inside a single command cell as a plain alternation. The proposed unescaped pipe splits the Markdown row and truncates the command. I checked both with the GitHub Markdown API using a two-column table. Please keep escaped pipes inside Markdown table rows. If a raw-file copy workflow needs an unescaped command, a separate fenced example outside the table would preserve both paths.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:review:6038486027 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1435#pullrequestreview-6038486027). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T11:36:24Z. **Review:** CHANGES_REQUESTED --- GitHub's GFM renderer confirms that the existing escaped pipe renders inside a single command cell as a plain alternation. The proposed unescaped pipe splits the Markdown row and truncates the command. I checked both with the GitHub Markdown API using a two-column table. Please keep escaped pipes inside Markdown table rows. If a raw-file copy workflow needs an unescaped command, a separate fenced example outside the table would preserve both paths.
JustinDCosta commented 2026-11-24 12:03:18 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by JustinDCosta on 2026-11-24T11:44:16Z.


Thanks for the careful check. You're right: GFM renders the escaped pipes as alternation within one command cell, while unescaped pipes split the table row. The change in this PR is unnecessary, so I'm closing it without replacing the table commands.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7130482071 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1435#issuecomment-7130482071). Originally posted by [JustinDCosta](https://github.com/JustinDCosta) on 2026-11-24T11:44:16Z. --- Thanks for the careful check. You're right: GFM renders the escaped pipes as alternation within one command cell, while unescaped pipes split the table row. The change in this PR is unnecessary, so I'm closing it without replacing the table commands.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!1428
No description provided.