projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
ignore html marking single char constants
[mdref/mdref]
/
mdref
/
Structure.php
diff --git
a/mdref/Structure.php
b/mdref/Structure.php
index 70233cbbc6fe99914313184e27f1299e762f0f6c..ace780b4d0c62b340be869c124cdefebc3132cda 100644
(file)
--- a/
mdref/Structure.php
+++ b/
mdref/Structure.php
@@
-129,7
+129,9
@@
class Structure {
private function getConstants() : array {
static $pattern = '/
\*\s+
+ (?:[<]span[ ]class="constant"[>])?
(?<name>\w+)
+ (?:[<]\/span[>])?
(?:\s*=\s*(?P<value>.+))?
(?P<desc>(?:\s*\n\s*[^\*\n#].*)*)
/x';