Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
ximper-shell-notification-center
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
ximper-shell-notification-center
Commits
95039d90
Commit
95039d90
authored
Sep 22, 2022
by
Erik Reider
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed all references to `RegexCompileFlags.JAVASCRIPT_COMPAT` due to deprecation
parent
7a82c82e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
configModel.vala
src/configModel/configModel.vala
+5
-5
No files found.
src/configModel/configModel.vala
View file @
95039d90
...
@@ -66,7 +66,7 @@ namespace SwayNotificationCenter {
...
@@ -66,7 +66,7 @@ namespace SwayNotificationCenter {
if
(
param
.
app_name
==
null
)
return
false
;
if
(
param
.
app_name
==
null
)
return
false
;
bool
result
=
Regex
.
match_simple
(
bool
result
=
Regex
.
match_simple
(
app_name
,
param
.
app_name
,
app_name
,
param
.
app_name
,
RegexCompileFlags
.
JAVASCRIPT_COMPAT
,
0
,
RegexMatchFlags
.
NOTEMPTY
);
RegexMatchFlags
.
NOTEMPTY
);
if
(!
result
)
return
false
;
if
(!
result
)
return
false
;
}
}
...
@@ -74,7 +74,7 @@ namespace SwayNotificationCenter {
...
@@ -74,7 +74,7 @@ namespace SwayNotificationCenter {
if
(
param
.
summary
==
null
)
return
false
;
if
(
param
.
summary
==
null
)
return
false
;
bool
result
=
Regex
.
match_simple
(
bool
result
=
Regex
.
match_simple
(
summary
,
param
.
summary
,
summary
,
param
.
summary
,
RegexCompileFlags
.
JAVASCRIPT_COMPAT
,
0
,
RegexMatchFlags
.
NOTEMPTY
);
RegexMatchFlags
.
NOTEMPTY
);
if
(!
result
)
return
false
;
if
(!
result
)
return
false
;
}
}
...
@@ -82,14 +82,14 @@ namespace SwayNotificationCenter {
...
@@ -82,14 +82,14 @@ namespace SwayNotificationCenter {
if
(
param
.
body
==
null
)
return
false
;
if
(
param
.
body
==
null
)
return
false
;
bool
result
=
Regex
.
match_simple
(
bool
result
=
Regex
.
match_simple
(
body
,
param
.
body
,
body
,
param
.
body
,
RegexCompileFlags
.
JAVASCRIPT_COMPAT
,
0
,
RegexMatchFlags
.
NOTEMPTY
);
RegexMatchFlags
.
NOTEMPTY
);
if
(!
result
)
return
false
;
if
(!
result
)
return
false
;
}
}
if
(
urgency
!=
null
)
{
if
(
urgency
!=
null
)
{
bool
result
=
Regex
.
match_simple
(
bool
result
=
Regex
.
match_simple
(
urgency
,
param
.
urgency
.
to_string
(),
urgency
,
param
.
urgency
.
to_string
(),
RegexCompileFlags
.
JAVASCRIPT_COMPAT
,
0
,
RegexMatchFlags
.
NOTEMPTY
);
RegexMatchFlags
.
NOTEMPTY
);
if
(!
result
)
return
false
;
if
(!
result
)
return
false
;
}
}
...
@@ -97,7 +97,7 @@ namespace SwayNotificationCenter {
...
@@ -97,7 +97,7 @@ namespace SwayNotificationCenter {
if
(
param
.
category
==
null
)
return
false
;
if
(
param
.
category
==
null
)
return
false
;
bool
result
=
Regex
.
match_simple
(
bool
result
=
Regex
.
match_simple
(
category
,
param
.
category
,
category
,
param
.
category
,
RegexCompileFlags
.
JAVASCRIPT_COMPAT
,
0
,
RegexMatchFlags
.
NOTEMPTY
);
RegexMatchFlags
.
NOTEMPTY
);
if
(!
result
)
return
false
;
if
(!
result
)
return
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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