[PD-cvs] externals/zexy/src regex.c,1.7,1.8

IOhannes m zmölnig zmoelnig at users.sourceforge.net
Wed Jun 28 17:35:07 CEST 2006


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!");





More information about the Pd-cvs mailing list