Update of /cvsroot/pure-data/externals/zexy/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19910/src
Modified Files: regex.c Log Message: the default regex is now ".*" which matches anything instead of NO regex
Index: regex.c =================================================================== RCS file: /cvsroot/pure-data/externals/zexy/src/regex.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** regex.c 20 Jun 2006 13:30:25 -0000 1.7 --- regex.c 28 Jun 2006 15:35:05 -0000 1.8 *************** *** 283,286 **** --- 283,291 ---- x->x_matchnum=NUM_REGMATCHES; if(argc)regex_regex(x, gensym(""), argc, argv); + else{ + t_atom a; + SETSYMBOL(&a, gensym(".*")); + regex_regex(x, 0, 1, &a); + } #else error("[regex] non-functional: compiled without regex-support!");