e70152e44cc66cc599ff6b699eb8adc07f3e656a kent Sat May 24 21:09:34 2014 -0700 Adding Copyright NNNN Regents of the University of California to all files I believe with reasonable certainty were developed under UCSC employ or as part of Genome Browser copyright assignment. diff --git src/lib/regexHelper.c src/lib/regexHelper.c index b617c2c..04e8ab5 100644 --- src/lib/regexHelper.c +++ src/lib/regexHelper.c @@ -1,17 +1,20 @@ /* regexHelper: easy wrappers on POSIX Extended Regular Expressions (man 7 regex, man 3 regex) */ +/* Copyright (C) 2012 The Regents of the University of California + * See README in this or parent directory for licensing information. */ + #include "regexHelper.h" #include "hash.h" const regex_t *regexCompile(const char *exp, const char *description, int compileFlags) /* Compile exp (or die with an informative-as-possible error message). * Cache pre-compiled regex's internally (so don't free result after use). */ { static struct hash *reHash = NULL; struct hashEl *hel = NULL; char key[512]; safef(key, sizeof(key), "%d.%s", compileFlags, exp); if (reHash == NULL) reHash = newHash(10); hel = hashLookup(reHash, key);