find or install regex
by bkelly13 from LinuxQuestions.org on (#5AJB7)
Centos 7.7.1908
The goal is to configure an evaluation version of PC Lint to run on my development computer. This is a work computer configured for the work environment and boots from a DVD. I am on telework at home. The configuration file for PC Lint is a python script that appears to start, but fails on the line:
import regex
One attempt was to change that line to: import re
The script goes further but eventually proclaims: global name 'regex' is not defined
The command: "man regex" yields a page that looks right. The command: "which regex" says not found.
Command "find . -name regex" from the rood directory "/" finds what appears to be two C++ include files, but no additional returns.
I have googled for multiple versions of: "linux centos rpm regex" But all the promising ones yield page not found.
What else should I try?


The goal is to configure an evaluation version of PC Lint to run on my development computer. This is a work computer configured for the work environment and boots from a DVD. I am on telework at home. The configuration file for PC Lint is a python script that appears to start, but fails on the line:
import regex
One attempt was to change that line to: import re
The script goes further but eventually proclaims: global name 'regex' is not defined
The command: "man regex" yields a page that looks right. The command: "which regex" says not found.
Command "find . -name regex" from the rood directory "/" finds what appears to be two C++ include files, but no additional returns.
I have googled for multiple versions of: "linux centos rpm regex" But all the promising ones yield page not found.
What else should I try?