<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE syntax SYSTEM "symbol.dtd">
<symbols>
    <blocks>
        <beginregex>{</beginregex>
        <endregex>}</endregex>
    </blocks>

    <symbol id="PHP functions" font-weight="normal" font-style="normal" image="SymbolF()" indentation="1" ignoreblocks="no">
        <regex>function[ \t]*&amp;?([a-zA-Z0-9_]+[ \t]*\([^)]*\))[^{}]*{</regex>
    </symbol>

    <symbol id="PHP classes" font-weight="bold" font-style="normal" image="SymbolC" indentation="0" ignoreblocks="yes">
        <regex>^[ \t]*class[ \t]*([a-zA-Z0-9_]+)[ \t]*[^{}]*{</regex>
    </symbol>

    <symbol id="Section Marks" font-weight="bold" image="Symbol#" indentation="0" ignoreblocks="yes">
        <regex>(#section [	 -]*[^\n]*)\n</regex>
        <postprocess>
            <find>#section[-	 \n]*</find> <!-- An empty string places a separator -->
            <replace>{{</replace>
        </postprocess>
    </symbol>

    <symbol id="End Section Marks" font-weight="bold" image="Symbol#" indentation="0" ignoreblocks="yes">
        <regex>(#endsection ?[	 -]*[^\n]*)\n</regex>
        <postprocess>
            <find>#endsection[-	 \n]*</find> <!-- An empty string places a separator -->
            <replace>}}</replace>
        </postprocess>
    </symbol>

    <symbol id="Code Todo" font-weight="bold" image="SymbolWarn" indentation="1" ignoreblocks="no">
        <regex>\!\!</regex>
        <postprocess>
            <find>.*</find>
            <replace>fixme</replace>
        </postprocess>
    </symbol>

</symbols>
