Writting my WP-SynHighlight WordPress plugin, I came to a need of parsing multilined shortcode like this:
[ codesyntax option1=”optionvalue1″…] <many lines here….> [ / codesyntax]
Actually, any opposite metacharacters should work. [\W\w] for example.
Quite easy, isn’t it? 🙂