Help for this page
while (<main::DATA>) { ... /^(?:(?:(\d+)\s*c\s*)|(?:(\d+)\s*w\s*)|(?:(\d+)\s*r\s*))+/i; print "With \\s* : 1='$1', 2='$2', 3='$3'\n"; }
Testing '1c' Without \s* : 1='1', 2='', 3='' ... Testing '2r1c' Without \s* : 1='1', 2='', 3='2' With \s* : 1='1', 2='', 3='2'