fixed regex to handle space

remotes/origin/master-1.0.x
Gurvinder Singh 17 years ago committed by Victor Julien
parent df74597a1f
commit d82d83eba2

@ -19,7 +19,7 @@
/**
* \brief Regex for parsing our flow options
*/
#define PARSE_REGEX "^\\s*([^\\s]+)\\s*,\\s*([^\\s]+)\\s*,([0-9]+)\\s*$"
#define PARSE_REGEX "^\\s*([A-z_]+)\\s*,\\s*([<=>!]+)\\s*,\\s*([0-9]+)\\s*$"
static pcre *parse_regex;
static pcre_extra *parse_regex_study;

Loading…
Cancel
Save