Skip to content

Improve Latin word-boundary replacement to cut partial-word hits #3

Description

@fishonbike

Surface replacement is longest-first literal substring. For Latin text this can hit inside longer words. Add word-boundary guards for ASCII surfaces (CJK unaffected) to improve precision, with tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions