aboutsummaryrefslogtreecommitdiff
path: root/reference/regex-help.pd
blob: 3efa446f42ef5f0c5b533d9cb67cd9e050fccc9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#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 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 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;
#X connect 7 0 12 0;
#X connect 8 0 7 0;
#X connect 12 0 0 0;
#X connect 12 0 9 0;
#X connect 12 1 10 0;
#X connect 12 2 11 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 15 0 13 0;
#X connect 16 0 13 0;
#X connect 17 0 13 0;
#X connect 18 0 12 0;