- or download this
[Variable length lookbehind not implemented in regex; ...
- or download this
print $s;;
#@##@###@####@#####@
...
#@##
###@####
#####@
- or download this
print for split '(?:(?<=[^#]########)|(?<=[^#]######)|(?<=[^#]####)|(?
+<=[^#]##)|(?<!#))[@]', $s;;