3 Oct
2008
3 Oct
'08
10:28 p.m.
Hello, I'm writing a JNI dll that can be called from a Java GUI. The java program passes a regex and a string to search. The dll function does a boost::regex_search and returns an IntArray with the results. The problem that I'm having is that bad expressions result in a crash. For instance, if the user inputs \b as the regex and 'bad' as the string, the program crashes.