# /^[+-]?\d+$/ $match_integers = form_REx(<< 'END'); # single-quoted! start # ^ class "+-" # [+-] optional # ? digit # \d one_or_more # + end # $ END