Add custom filter to parser

General discussions and questions.
Post Reply
CFX
Posts: 1
Joined: Thu Oct 28, 2021 7:01 am

Add custom filter to parser

Post by CFX »

Good day

How I could add some custom filter to mark my task as 'error' or 'warning' ?
I found child class from the class parser, but after adding any custom strings to str_error or str_badresult lists nothing changed
User avatar
timurhai
Site Admin
Posts: 911
Joined: Sun Jan 15, 2017 8:40 pm
Location: Russia, Korolev
Contact:

Re: Add custom filter to parser

Post by timurhai »

Hi!
You can look at some existing parser, for example:
https://github.com/CGRU/cgru/blob/maste ... /mantra.py
And create your own.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Post Reply