This basically takes in my string (called base) and an expression to match (called match) and tries to return a double (I am searching for numbers). The error I am getting is with the regex_search function which states: