There is a significant difference between the code I presented above an this. While the tests were a simple one widget per line I joined the lines and included freeform text. You don't understand the problem if you think you are going to get nice neat [...] widgets in an array. An RE as presented will process a text stream ie a blog page. Your code won't.
cheers
tachyon
In reply to Re: Re: Link regex
by tachyon
in thread Link regex
by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |