Mercurial > hg > Applications > Grep
diff c/regexParser/main.cc @ 132:fb4c8adf3a80 pairPro
fix include '|' in regex
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Dec 2015 23:30:48 +0900 |
parents | b930be74a16e |
children | ccc673449351 |
line wrap: on
line diff
--- a/c/regexParser/main.cc Wed Dec 02 18:01:32 2015 +0900 +++ b/c/regexParser/main.cc Wed Dec 02 23:30:48 2015 +0900 @@ -12,6 +12,7 @@ { RegexInfoPtr ri = (RegexInfoPtr)malloc(sizeof(RegexInfo)); ri->nodeNumber = 1; + ri->orFlag = 0; for (int i = 1; i < argc; i++) { if (strcmp(argv[i],"-regex") == 0) {