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
{{ message }}
Repository navigation
Commit e8f8960
Browse filesBrowse the repository at this point in the historyBrowse files
Trim a url's closing punctuation one character at a time
A url that ends in a bracket of its own, wrapped by prose that closes over it
again, matched neither the token as it stood nor the token with every closing
character trimmed: `(…/wiki/Ruby_(programming_language))` lost its own `)` to
the trim, and the paste was declined. The candidates are now each length from
the whole token down to the fully trimmed one, so the url's own bracket can stay.
Every candidate is compared against the href before any of them is taken as
some other url. Declining as soon as the untrimmed token looked like a url meant
a link followed by a full stop, `https://…/a.js#L7.`, was declined too.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
0 commit comments