osx - alpha regex does not pick out alpha chars in bash -
I have this Dragon Regex p = "(2024 (?:(?: (?: [Ed.] + ?) +)) 93) "
for UNIX reggae to improve the speed of GRP
to test (and start), I grep --color -e" [: Alpha:] "/ Volume / USB / Corpus / Masked Contracts_ Pre_N / 01-01-09-Maximus-Ink-Second-Amendment. Txt
to try and find the characters in the file. I thought it would select all alpha characters but it only chooses some of them. Do I forget something in the docs? What is happening?
< I'm not on OSX, but the version of grep
(version 2.12 on Linux) actually returns a message when you -e '[: alpha:]'
:
If you try to use grep, there is descriptive character: the letter class syntax is [[: space:]], No [: space:]
In other words, using syntax [: alpha:]
inside Is for Racket expression, which means that there will be nested bracket final syntax: [[: alpha:]]
.
This is logical, when you think about it, because any regex engine is between the square class, and only
Comments
Post a Comment