Mercurial > hg > Applications > Grep
comparison regex/regex.cc @ 44:62739627f8ec
fix
author | Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 03 Mar 2015 17:23:47 +0900 |
parents | ead0a307449e |
children |
comparison
equal
deleted
inserted
replaced
43:ead0a307449e | 44:62739627f8ec |
---|---|
13 { | 13 { |
14 char* readText = regexD->readText; | 14 char* readText = regexD->readText; |
15 int readTextLen = regexD->readTextLen; | 15 int readTextLen = regexD->readTextLen; |
16 char* searchWord = regexD->searchWord; | 16 char* searchWord = regexD->searchWord; |
17 int searchWordLen = regexD->searchWordLen; | 17 int searchWordLen = regexD->searchWordLen; |
18 | |
19 char* blockWord; | |
20 char** blockWordArray; | |
21 int allocateSize = 0; | |
22 | |
23 // "+" が含まれている時だけを考えてみる | |
24 for (int i = 0; i < searchWordLen; i++) { | |
25 if ((searchWord[i] == 43) && (i != 0)) { // 43 ASCII-> "+" | |
26 | |
27 }else { // 普通の文字列の場合 | |
28 | |
29 } | |
30 } | |
18 } | 31 } |