Why pcregrep version 7.8 doesn't support regular expression match groups?
Issue
- The pcre package that ships with RHEL6 is old.
$ pcregrep --version
pcregrep version 7.8 2008-09-05
-
It doesn't support regular expression match groups. Which newer version of the package will support for match groups?
-
The current version on RHEL6 does not have the "-onumber" option.
-
Requirement is to be able to print match groups to pipe it into another command.
Environment
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
