Clean up NSRegularExpression, so that it compiles without warnings with or without ICU, but we don't pretend that we support things that we don't and silently return nonsense results to make debugging difficult for GNUstep users.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33688 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
theraven 2011-08-03 12:04:27 +00:00
parent a04ed1a9ff
commit f72d31cd68
4 changed files with 60 additions and 68 deletions

View file

@ -43,6 +43,7 @@
Limited choice of default encodings.
*/
#define GS_UNSAFE_REGEX 1
#import "common.h"
#include <stdio.h>
#include <string.h>