Skip to content

ptx: match GNU default behavior by skipping non-alphabetic index tokens#10919

Merged
cakebaker merged 4 commits intouutils:mainfrom
Xylphy:fix/ptx-gnu-compat-skip-nonalpha-default
Feb 17, 2026
Merged

ptx: match GNU default behavior by skipping non-alphabetic index tokens#10919
cakebaker merged 4 commits intouutils:mainfrom
Xylphy:fix/ptx-gnu-compat-skip-nonalpha-default

Conversation

@Xylphy
Copy link
Contributor

@Xylphy Xylphy commented Feb 13, 2026

Fixes #10886

Summary
This PR fixes a GNU-compatibility regression in ptx default indexing.

What changed
In create_word_set, skip matched tokens whose first character is non-alphabetic when using the default word-regexp behavior.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ptx: show no output if input is numeric

2 participants