Hello all, how does one do pattern matching against strings that share some text?
e.g. both of these calls go to the same method, but the method knows if it’s foo or bar
some_function(event: "keyup_foo")
some_function(event: "keyup_bar")
def handle_event("keyup_[???]", payload, socket) do
# somehow use foo or bar here
end