X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=mdref%2FStructure.php;h=ace780b4d0c62b340be869c124cdefebc3132cda;hb=a94ecb1009610a763dd74a7eebc4754b6643d832;hp=70233cbbc6fe99914313184e27f1299e762f0f6c;hpb=d3f229b258375f7965ecadcbf076be61c5874faa;p=mdref%2Fmdref diff --git a/mdref/Structure.php b/mdref/Structure.php index 70233cb..ace780b 100644 --- a/mdref/Structure.php +++ b/mdref/Structure.php @@ -129,7 +129,9 @@ class Structure { private function getConstants() : array { static $pattern = '/ \*\s+ + (?:[<]span[ ]class="constant"[>])? (?\w+) + (?:[<]\/span[>])? (?:\s*=\s*(?P.+))? (?P(?:\s*\n\s*[^\*\n#].*)*) /x';