regex_error on systems with gcc 4.8.x

Description

The file "src/input/readers/config/Config.cc" has a line "#include <regex>".
That functionality exists as a stub in older versions of libstdc++, but was not
implemented until gcc 4.9 (apparently, this was a known bug for
several years!). So, for example, on RHEL 7 (or any other
OS which has gcc 4.8.x) Bro builds without error or warning, but when
you run Bro it terminates with a "regex_error" when it tries to use that
functionality.

Here are some links that discuss this issue:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53631
https://stackoverflow.com/questions/12530406/is-gcc-4-8-or-earlier-buggy-about-regular-expressions

One potential solution is to re-implement the affected code with the
functionality provided in regex.h instead:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/regex.h.html

Environment

None

Assignee

Johanna Amann

Reporter

Daniel Thayer

Labels

None

External issue ID

None

Components

Fix versions

Priority

Normal
Configure