Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Kate
Commits
005b3ab4
Commit
005b3ab4
authored
Sep 14, 2022
by
Alain Laporte
Committed by
Christoph Cullmann
Sep 15, 2022
Browse files
php_parser: fix URL for doc about interface
parent
fb665cfc
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/symbolviewer/php_parser.cpp
View file @
005b3ab4
...
...
@@ -63,7 +63,7 @@ void KatePluginSymbolViewerView::parsePhpSymbols(void)
static
const
QRegularExpression
classRegExp
(
QLatin1String
(
"^((abstract
\\
s+|final
\\
s+)?)class
\\
s+([
\\
w_][
\\
w
\\
d_]*)
\\
s*(implements
\\
s+[
\\
w
\\
d_]*|extends
\\
s+[
\\
w
\\
d_]*)?"
),
QRegularExpression
::
CaseInsensitiveOption
);
// interfaces: https://www.php.net/manual/en/language.oop5.php
// interfaces: https://www.php.net/manual/en/language.oop5.
interfaces.
php
static
const
QRegularExpression
interfaceRegExp
(
QLatin1String
(
"^interface
\\
s+([
\\
w_][
\\
w
\\
d_]*)"
),
QRegularExpression
::
CaseInsensitiveOption
);
// classes constants: https://www.php.net/manual/en/language.oop5.constants.php
static
const
QRegularExpression
constantRegExp
(
QLatin1String
(
"^const
\\
s+([
\\
w_][
\\
w
\\
d_]*)"
),
QRegularExpression
::
CaseInsensitiveOption
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment