PEL: Taking regex calls out of PEL listing function
PEL: Taking regex calls out of PEL listing function

Taking out regex calls to improve time complexity

Change-Id: Id0ca32bf78b006b3c8e03ac95206c670f92d4002
Signed-off-by: Aatir <ef62af86a224400992335472ece69e8c3f43ff77@gmail.com>

openbmc/phosphor-logging,openbmc/phosphor-logging,openbmc/phosphor-logging,openbmc/phosphor-logging