Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
SAPHsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SAPHIRE
SAPHsync
Commits
e001ef21
Commit
e001ef21
authored
Feb 06, 2019
by
erdnaxe
🎇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Patch regex to support GM
parent
ea583df4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
filters.py
filters.py
+1
-1
No files found.
filters.py
View file @
e001ef21
...
...
@@ -8,7 +8,7 @@ def group(event, selected_groups) -> bool:
"""Filter group according to the group selected"""
summary
=
event
.
get
(
'summary'
)
date
=
event
.
get
(
'dtstart'
)
.
dt
.
strftime
(
"
%
Y-
%
m-
%
d"
)
summary_search
=
re
.
search
(
'([0-9]{3}) - ([A-Z
]{2}
)
\
(grpe : ([^
\
)]*)
\
)'
,
summary_search
=
re
.
search
(
'([0-9]{3}) - ([A-Z
a-z ]*
)
\
(grpe : ([^
\
)]*)
\
)'
,
summary
,
re
.
IGNORECASE
)
if
summary_search
:
...
...
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