backtracking

1 topic · 1 source

Technology› Programming

Perl

The practice of saying, "If I had to do it all over, I'd do it differently," and then actually going back and doing it all over differently. Mathematically speaking, it's returning from an unsuccessful recursion on a tree of possibilities. Perl backtracks when it attempts to match patterns with a "regular expression", and its earlier attempts don't pan out. See "Backtracking" in perlre.

Cite this definition

APA
MLA
Chicago