Its wired question but i want to know what is the difference between =~
and ==
Following "string" i am trying to find.
if($ua =~ "friendly-scanner") {
drop()
}
Vs
if($ua == "friendly-scanner") {
drop()
}
Its wired question but i want to know what is the difference between =~
and ==
Following "string" i am trying to find.
if($ua =~ "friendly-scanner") {
drop()
}
Vs
if($ua == "friendly-scanner") {
drop()
}
For example: