1<?php
2/**
3 * DokuWiki Syntax Plugin Canvas rgraph
4 *
5 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
6 * @author  Sahara Satoshi <sahara.satoshi@gmail.com>
7 *
8 * SYNTAX:
9 *        <rgraph chartid width,height>
10 *         ... javascript ...
11 *        </rgraph>
12 */
13require_once DOKU_PLUGIN.'canvas/syntax/canvas.php';
14
15class syntax_plugin_canvas_rgraph extends syntax_plugin_canvas_canvas {
16
17    protected $entry_pattern = '<rgraph\b.*?>(?=.*?</rgraph>)';
18    protected $exit_pattern  = '</rgraph>';
19
20}
21