Codebase list centreon-engine / 35b021a
Fix the webservice list generation tool. It used to parse using Qt's regular expressions that are based on Perl regular expressions. However this was replaced by POSIX's regular expressions system, but some pattern was not updated. Matthieu Kermagoret 11 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
00 /*
1 ** Copyright 2011 Merethis
1 ** Copyright 2011-2012 Merethis
22 **
33 ** This file is part of Centreon Engine.
44 **
1818
1919 #include <algorithm>
2020 #include <cctype>
21 #include <cstring>
2122 #include <regex.h>
2223 #include <sstream>
23 #include <string.h>
2424 #include "arg_definition.hh"
2525 #include "error.hh"
2626 #include "function.hh"
2929
3030 // Regexp pattern to extract name and arguments of soapStub function.
3131 char const* com::centreon::engine::script::function::_pattern =
32 "^SOAP_FMAC5 int SOAP_FMAC6 soap_call_centreonengine__(\\w*)\\("
32 "^SOAP_FMAC5 int SOAP_FMAC6 soap_call_centreonengine__([^\\(]*)\\("
3333 "struct soap \\*soap, "
3434 "const char \\*soap_endpoint, "
3535 "const char \\*soap_action, "
36 "(.*)\\);\n$";
36 "([^\\)]*)\\);$";
3737
3838 /**************************************
3939 * *