/g indicates the match should be performed repeatedly, so
is basically/^(...)....(\d+)/g
/ ^(...)....(\d+) (?: (?s:.*?) ^(...)....(\d+) (?: (?s:.*?) ^(...)....(\d+) (?: (?s:.*?) ^(...)....(\d+) etc )?)?)? /xg
(But with less ability to backtrack)
In reply to Re: using regex to capture a string and an array
by ikegami
in thread using regex to capture a string and an array
by blackadder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |