Question: [![enter image description here](https://i.stack.imgur.com/W3Zgd.png)](https://i.stack.imgur.com/W3Zgd.png)

So only within my sidebar widgets does this bullet above the widgets occur. I am not sure what custom css code to use to get rid of this. That is why I uploaded the picture of the inspect element to see if anyone can help me identify where the problem is coming from. Thank you so much in advance.

Answer: 
Construct a Regular Expression (without pipes and slashes and dots and other magic stuff):

```
arr = ["aa", "bb", "cc"]
str = "mystringcc"
reg = Regexp.union(arr)  # That's all!
p str.match?(reg)        #=> true

```
The reason you are getting that error message is because the `*` operator is telling Ruby to pass all the items of `arr` to `str.include?`. For those `arr` items, that is equivalent to writing `str.include?("aa", "bb", "cc")`.

As said in other answers, checking a condition is verified for any of the elements contained in an array, like in your case (where you don't want to check if all the elements of an array are substrings of a given string), is done using `arr.any? { |item| str.include?(item) }`.