@when(parsers.re(r'I get argument (?P<arg>\d+)'))
def get_argument(argument, arg):
    argument['arg'] = arg
Getting argument.
dataset/ETHPy150Open pytest-dev/pytest-bdd/tests/args/regex/test_args.py/get_argument