/*
*******************************************************************************
-* Copyright (C) 2003-2005, International Business Machines
+* Copyright (C) 2003-2006, International Business Machines
* Corporation and others. All Rights Reserved.
*******************************************************************************
* file name: regexc.cpp
#include "unicode/uregex.h"
#include "unicode/unistr.h"
+U_NAMESPACE_USE
+
//----------------------------------------------------------------------------------------
//
// uregex_openC
}
UnicodeString patString(pattern);
- URegularExpression *re = uregex_open(patString.getBuffer(), patString.length(), flags, pe, status);
- return re;
+ return uregex_open(patString.getBuffer(), patString.length(), flags, pe, status);
}
#endif