summaryrefslogtreecommitdiffstats
path: root/src/whatfiles.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/whatfiles.c')
-rw-r--r--src/whatfiles.c2
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(&regex, "State:\\W+([A-Za-z])", REG_EXTENDED) != 0) {
+ if (regcomp(&regex, "State:[[:space:]]*([A-Za-z])", REG_EXTENDED) != 0) {
SYS_ERR("regex compilation error");
}