I am matching an empty value with an array element which has one value in it and the array does not have any empty values. However, still this script works.
import re
b = ""
links_check_arr = ['Arunsdsdds']
for links_find in links_check_arr:
if b in links_find:
print links_find
print b
How come it is working when b
is empty and the array element is 'Arunsdsdds'
(which has no empty value in it)?