HCoop
/
hcoop
/
domtool2.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
hcoop: enable `minsky' as a mail node for all members
[hcoop/domtool2.git]
/
pcre
/
pcre_sml.c
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
#include <pcre.h>
2
3
int PCRE_SML_validRegexp(const char *s) {
4
pcre *re;
5
const char *error;
6
int erroffset;
7
8
re = pcre_compile(s, 0, &error, &erroffset, NULL);
9
10
if (re) {
11
pcre_free(re);
12
return 1;
13
} else
14
return 0;
15
}