diff options
Diffstat (limited to 'src/whatfiles.c')
-rw-r--r-- | src/whatfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/whatfiles.c b/src/whatfiles.c index 0004308..ac87ed7 100644 --- a/src/whatfiles.c +++ b/src/whatfiles.c @@ -94,7 +94,7 @@ int main(int argc, char* argv[]) HashMap hashmap = &hm; init_hashmap(hashmap); - if (regcomp(®ex, "State:\\W+([A-Za-z])", REG_EXTENDED) != 0) { + if (regcomp(®ex, "State:[[:space:]]*([A-Za-z])", REG_EXTENDED) != 0) { SYS_ERR("regex compilation error"); } |