from typing import Optional
from typing import List
import re


def split_arg(arg: str) -> Optional[List[str]]:
    """Split an argument into multiple."""
    if not arg:
        return None
    return re.split(r"[,\s]", arg)