[thelist] Regex help

Matt Warden mwarden at gmail.com
Mon Nov 26 13:28:09 CST 2007

On 11/26/07, Dan Parry <dan at virtuawebtech.co.uk> wrote:
> OK, that's the background, here's the problem... The tags appear in this
> format:
> [link page="index" text="Link" id="newLink"]
> Now, that works fine and all attributes parse, but if I do this:
> [link page="index" text="New link" id="newLink"]
> It breaks because of the whitespace in the text attribute... Now, it seems
> to me I have 2 options:

You didn't include the regex you're using!

Basically, you want to search on [^"] (not quote) within the attribute values.

Matt Warden
Cincinnati, OH, USA

This email proudly and graciously contributes to entropy.

More information about the thelist mailing list