Compile a regular expression for matching. Definition at line 497 of file vfs.c. 00498 { 00499 struct vfsmatch *vm; 00500 00501 vm = g_slice_new0(struct vfsmatch); 00502 00503 if (regcomp(&vm->regex, str, REG_EXTENDED|REG_ICASE) != 0) { 00504 g_slice_free(struct vfsmatch, vm); 00505 return (NULL); 00506 } 00507 vm->string = g_strdup(str); 00508 00509 return (vm); 00510 }
Here is the caller graph for this function:
![]() |
1.6.3