]> git.tdb.fi Git - libs/core.git/blobdiff - source/regmatch.cpp
Further style and comment adjustments
[libs/core.git] / source / regmatch.cpp
index 852174a0a152baa42ffaaea4ebf724eb7aacb452..f81be1a5225b09886579df8a92582078609b2a61 100644 (file)
@@ -4,6 +4,7 @@ This file is part of libmspstrings
 Copyright © 2007 Mikko Rasa
 Distributed under the LGPL
 */
+
 #include <msp/core/except.h>
 #include "regmatch.h"
 
@@ -17,8 +18,8 @@ RegMatch::RegMatch(const string &str, const GroupArray &g):
        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);
                }
 }