/////////////////////////////////////////////////
// PukiWiki - Yet another WikiWikiWeb clone.
//
-// $Id: make_link.php,v 1.54 2003/08/05 05:04:39 arino Exp $
+// $Id: make_link.php,v 1.55 2003/08/05 05:33:32 arino Exp $
//
// ¥ê¥ó¥¯¤òÉղ乤ë
function get_pattern()
{
return <<<EOD
-\(\( # open paren
- ( # (1) note body
- (?:
- (?> # once-only
- (?:
- (?!\(\()(?!\)\)(?:[^\)]|$)).
- )+
- )
- |
- (?R) # or recursive of me
- )*
- )
+\(\(
+ ((?:(?R)|(?!\)\)).)*) # (1) note body
\)\)
EOD;
}