andrewwutw / build-djgpp

Build DJGPP cross compiler and binutils on Windows (MinGW/Cygwin), Mac OSX and Linux
GNU General Public License v3.0
259 stars 55 forks source link

Regular expressions aren't working in C++ #36

Open FlatAssembler opened 4 years ago

FlatAssembler commented 4 years ago

It seems as though std::regex_search always returns false, and even the simplest regular expressions, such as [0-9]+ or even \d+, throw invalid character exceptions.

FlatAssembler commented 4 years ago

Did some more research. This bug seems not to appear when running DJGPP on Ubuntu, only when running it on RHEL. I have no idea why.