aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--reference/regex-help.pd49
1 files changed, 29 insertions, 20 deletions
diff --git a/reference/regex-help.pd b/reference/regex-help.pd
index 1784583..3efa446 100644
--- a/reference/regex-help.pd
+++ b/reference/regex-help.pd
@@ -1,25 +1,34 @@
-#N canvas 396 157 628 611 10;
-#X floatatom 71 423 0 0 0 0 - - -;
-#X text 426 24 part of zexy;
-#X obj 90 54 regex;
-#X text 147 54 -- check whether a symbol matches a regular expression
+#N canvas 163 22 483 425 10;
+#X floatatom 98 235 0 0 0 0 - - -;
+#X text 353 6 part of zexy;
+#X obj 17 36 regex;
+#X text 74 36 -- check whether a symbol matches a regular expression
;
-#X symbolatom 235 406 10 0 0 0 - - -;
-#X msg 93 333 list aba Aa Ac;
-#X symbolatom 137 361 10 0 0 0 - - -;
-#X msg 18 337 case \$1;
-#X obj 24 315 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1
+#X symbolatom 267 212 10 0 0 0 - - -;
+#X msg 125 139 list aba Aa Ac;
+#X symbolatom 169 167 10 0 0 0 - - -;
+#X msg 50 143 case \$1;
+#X obj 56 121 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
-#X obj 60 459 print result;
-#X obj 153 498 print details;
-#X obj 188 465 print num;
-#X obj 71 398 regex;
-#X obj 214 374 symbol;
-#X msg 252 335 Ab;
-#X msg 261 364 bA;
-#X msg 265 385 bAc;
-#X msg 213 339 aba;
-#X msg 72 274 list a a a;
+#X obj 46 267 print result;
+#X obj 126 267 print details;
+#X obj 212 267 print num;
+#X obj 103 204 regex;
+#X obj 246 180 symbol;
+#X msg 284 141 Ab;
+#X msg 293 170 bA;
+#X msg 297 191 bAc;
+#X msg 245 145 aba;
+#X msg 104 80 list a a a;
+#X text 11 292 list of details:;
+#X text 124 387 for more info \, see: http://www.delorie.com/gnu/docs/regex/regex_toc.html
+;
+#X text 34 308 1) ID number of match (in case of multiple matches)
+;
+#X text 34 357 3) position of the end of the match (or last character
+if no match);
+#X text 34 328 2) position of the start of the match (or first character
+if no match;
#X connect 4 0 12 1;
#X connect 5 0 12 0;
#X connect 6 0 12 0;