-#include <msp/core/error.h>
+/* $Id$
+
+This file is part of libmspstrings
+Copyright © 2007 Mikko Rasa
+Distributed under the LGPL
+*/
+
+#include <msp/core/except.h>
#include "regmatch.h"
using namespace std;
for(GroupArray::iterator i=groups.begin(); i!=groups.end(); ++i)
if(i->match)
{
- i->length=i->end-i->begin;
- i->str=str.substr(i->begin, i->length);
+ i->length = i->end-i->begin;
+ i->str = str.substr(i->begin, i->length);
}
}