aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-03 23:15:06 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2018-05-03 23:15:06 +0900
commit90868cac42ab8ad69cb3f3a29949e0815cc5a7ce (patch)
tree8c05dcfddbe1287ab79a2284df5f44ce5aba3589 /lib
parenta5b6d786878ab5c67a7b436ba475e8ac4d22f1f0 (diff)
downloadlibquotient-90868cac42ab8ad69cb3f3a29949e0815cc5a7ce.tar.gz
libquotient-90868cac42ab8ad69cb3f3a29949e0815cc5a7ce.zip
gtad.yaml: Update regexes to match string parts
According to KitsuneRal/gtad#31.
Diffstat (limited to 'lib')
-rw-r--r--lib/jobs/gtad.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/jobs/gtad.yaml b/lib/jobs/gtad.yaml
index 4ef55bce..89862da2 100644
--- a/lib/jobs/gtad.yaml
+++ b/lib/jobs/gtad.yaml
@@ -52,17 +52,17 @@ analyzer:
avoidCopy?: true
file: *ByteStream
object:
- - /.+m\.room\.member/: # A stub for EventsBatch<RoomMemberEvent>
+ - /m\.room\.member$/: # A stub for EventsBatch<RoomMemberEvent>
type: none
- - /.+state_event.yaml/:
+ - /state_event.yaml$/:
type: StateEventPtr
noCopy?: true
imports: '"events/event.h"'
- - /.*room_event.yaml/:
+ - /room_event.yaml$/:
type: RoomEventPtr
noCopy?: true
imports: '"events/event.h"'
- - /.*event.yaml/:
+ - /event.yaml$/:
type: EventPtr
noCopy?: true
imports: '"events/event.h"'
@@ -75,17 +75,17 @@ analyzer:
type: "std::vector<{{1}}>"
noCopy?: true
imports: '"events/event.h"'
- - /.+m\.room\.member/:
+ - /m\.room\.member$/:
type: "EventsArray<RoomMemberEvent>"
noCopy?: true
imports: '"events/roommemberevent.h"'
- - /.+state_event.yaml/:
+ - /state_event.yaml$/:
type: StateEvents
noCopy?: true
- - /.+room_event.yaml/:
+ - /room_event.yaml$/:
type: RoomEvents
noCopy?: true
- - /.+event.yaml/:
+ - /event.yaml$/:
type: Events
noCopy?: true
- /.+/: