Sample Header Ad - 728x90

Perl RegEx in Mac terminal: grep -p "^([^\t]*\t){2}mypattern\t" textfile.txt doesn't work

4 votes
2 answers
13096 views
I am a beginner of using programming commands. Why {2} is not functional after ([^\t]*\t) in macOS terminal? Is there any website providing Perl RegEx which works in mac? Thanks!
Asked by Kylie M. (41 rep)
Aug 30, 2017, 05:23 AM
Last activity: Sep 30, 2018, 10:50 AM