small improvement in :any parsing