Jump to content

Functional coverage tree: Difference between revisions

m
→‎{{header|Perl 6}}: oops, stray curlies
m (→‎{{header|Perl 6}}: tweak, tweak, and restore comments)
m (→‎{{header|Perl 6}}: oops, stray curlies)
Line 1,742:
my (@parts, $cnt);
 
while ($data ~~ m:nth(++$cnt)/$<head>=[(\s*) {} \N+\n ] # split off one level as 'head' (or terminal 'leaf')
$<body>=[[$0 \s+ \N+\n]*]/ ) { # next sub-level is 'body' (defined by extra depth of indentation)
 
2,392

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.