Question: What is the difference the `==` and `=~` comparison operators when used in BASH double square bracket `if` conditionals?

  1. The `==` operator performs a string comparison; `=~` performs a regex comparison.
  2. The `==` operator performs a string comparison; `=~` performs a glob pattern comparison.
  3. The `=~` operator performs a string comparison; `==` performs a regex comparison.
  4. There is no `=~` operator in BASH `if` conditionals.

Answer: The correct answer of the above question is Option A:The `==` operator performs a string comparison; `=~` performs a regex comparison.