#
# Inspired by the paper by Bruno Woltzenlogel Paleo (page 197):
# http://www.logic.at/people/bruno/Papers/2007-GATE-ESSLLI.pdf
#
# Inspired by the paper by Bruno Woltzenlogel Paleo (page 197):
# http://www.logic.at/people/bruno/Papers/2007-GATE-ESSLLI.pdf
# ------------------------------------------------------------------------------
# str.patmatch(pattern[, pos[, max_edit_distance]])
# -> Match or nil
# ------------------------------------------------------------------------------
# str.patmatch(pattern[, pos[, max_edit_distance]])
# -> Match or nil