mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
ptx: escape regular expression character class special chars
This commit is contained in:
parent
4889128ede
commit
83a64f4afe
3 changed files with 9 additions and 2 deletions
2
tests/fixtures/ptx/break_file
vendored
2
tests/fixtures/ptx/break_file
vendored
|
@ -1 +1 @@
|
|||
abc_e
|
||||
abc_e^-]\
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
.xx "" "let's check special characte" "rs:" ""
|
||||
.xx "" """quote" "s"", for roff" ""
|
||||
.xx "" "oh, and back\sla" "sh" ""
|
||||
.xx "" "oh, and back\" "slash" ""
|
||||
.xx "" "and" "some other like %a, b#, c$c" ""
|
||||
.xx "" "let's check" "special characters:" ""
|
||||
.xx "" "let's check special charac" "ters:" ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue