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?

Enter image details here

< 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 , ,,, and h

< / Div> [: alpha:] / html>

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -