Regast was properly installed with pip3 but when try to run regast in my terminal, it throws this error
Traceback (most recent call last):
File "/Users/Elvis/Library/Python/3.8/bin/regast", line 5, in
from regast.main import main
File "/Users/Elvis/Library/Python/3.8/lib/python/site-packages/regast/main.py", line 7, in
from regast.detectors.detector import Detector, DetectorClassification
File "/Users/Elvis/Library/Python/3.8/lib/python/site-packages/regast/detectors/detector.py", line 6, in
from regast.core.core import Core
File "/Users/Elvis/Library/Python/3.8/lib/python/site-packages/regast/core/core.py", line 3, in
from regast.parsing.ast_node import ASTNode
File "/Users/Elvis/Library/Python/3.8/lib/python/site-packages/regast/parsing/ast_node.py", line 25
match child_node.type:
^
SyntaxError: invalid syntax
How can i go about this ?