category = re.findall('(?<=compatible; )([^/]+)', line)
category = re.findall('(?<="-" ")([^"]+)', line)
How to make category match the data in these two regular expressions at the same time
How to merge two regular sentences together
Because if written like this, he will only recognize the following regular expression
re.findall('(?<=compatible; )([^/]+) | (?<="-" ")([^"]+) ', line)