1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

ptx: ignore empty regex (#1808)

* ptx: ignore empty -W regex

* ptx: test to verify empty -W regex is ignored

* tests/ptx: verify word regexp from cmd-line is used
This commit is contained in:
Michael Kefeder 2021-03-12 21:52:37 +01:00 committed by GitHub
parent 5ced3a670b
commit e1626b8c64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 5 deletions

View file

@ -0,0 +1,7 @@
.xx "" "" """quotes"", for roff" ""
.xx "" "" "and some other like %a, b#, c$c" ""
.xx "" "" "hello world!" ""
.xx "" "" "let's check special characters:" ""
.xx "" "" "maybe also~or^" ""
.xx "" "" "oh, and back\slash" ""
.xx "" "" "{brackets} for tex" ""