import re
def extract_xy(text):
m = re.search(r'^\s*compare\s+(.*?)\s+vs\s+(.*)$', text, re.IGNORECASE)
return [m.group(1), m.group(2)] if m else []
@fukurou
Skill 🌲: railbot: interupt for sp cases
With sub skill trees.
Skill tree has atribute of skill tree list which are skill sub classes
Shit in the ass man!
`python
from abc import ABC, abstractmethod
class Base(ABC):
@abstractmethod
def run(self):
pass
`
`python
class Child(Base):
def run(self):
return "running"
`
The key will be interupting the input method