data>>> 4 =====> Trying from position 0 4\n |...Trying | |...Trying subpattern /\d+/ \n | | \_____subpattern /\d+/ matched '4' ANSWER called | \_____ matched '4' --> processed data>>> .4 =====> Trying from position 0 .4\n |...Trying | |...Trying subpattern /\d+/ | | \FAIL subpattern /\d+/ | \FAIL \FAIL =====> Trying from position 1 4\n |...Trying | |...Trying subpattern /\d+/ \n | | \_____subpattern /\d+/ matched '4' | \_____ matched '4' --> 4 data>>>