Ruby- String .Match() function cannot match when a String Contains Text After Parenthesis : guys!
I am trying to match strings and I have come across an interesting issue that I have never seen before.

This works:


    str= "California (LA) rocks"
    match_string="rocks"
    str.match(match_string)
    => #<MatchData "rocks"> 


Why does this not work (which I really want it to work):


    match_string="(LA) rocks"
    str.match(match_string)
    => nil 
