Yes it's different: it will match anywhere in the previous command lines.