How can I do regular expression matching?
First of all, refer to regexp(5) for the definitions of basic and
From the command-line
The following commands support basic regular expression matching:
The following commands support extended regular expression matching:
o egrep(1) (grep -E)
Perl supports Perl regular expressions, a superset of extended regular
Use regcomp(3C). Do not use regcmp(3X) or re_comp(3X); these are
obsolescent and may be removed in a future HP-UX release.