Shxiao e8cb5e9c4f
fix(skills): keep unmatched markdown brackets out of quadratic backtracking (#5884)
* fix(skills): bail out of the markdown-link scan when no link construct exists (#5714)

* fix(skills): scan markdown links linearly and skip failed target runs (#5714)

* fix(skills): make link scan exactly match finditer, blank spans by position

Address review feedback: drive the scan by openers (the regex engine's
own start-position scan) so it reproduces finditer exactly, blank
matched spans by position instead of str.replace, pin the equivalence
with tests, and add CHANGELOG entries.

* fix: resolve skill review test lint errors

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-09-27 09:10:08 +08:00
..