Browse code

changed pcre PCRE_UNGREEDY from 'G' to 'U' reason: pcre uses 'U', 'G' is an artifact from old dev

Kevin Lin authored on 2015/03/10 07:17:04
Showing 1 changed files
... ...
@@ -60,7 +60,7 @@ int cli_pcre_addoptions(struct cli_pcre_data *pd, const char **opt, int errout)
60 60
             /* these are pcre specific... don't work with perl */
61 61
         case 'A':  pd->options |= PCRE_ANCHORED;            break;
62 62
         case 'E':  pd->options |= PCRE_DOLLAR_ENDONLY;      break;
63
-        case 'G':  pd->options |= PCRE_UNGREEDY;            break;
63
+        case 'U':  pd->options |= PCRE_UNGREEDY;            break;
64 64
 
65 65
         default:
66 66
             if (errout) {