From 90868cac42ab8ad69cb3f3a29949e0815cc5a7ce Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 3 May 2018 23:15:06 +0900 Subject: gtad.yaml: Update regexes to match string parts According to KitsuneRal/gtad#31. --- lib/jobs/gtad.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib') 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 + - /m\.room\.member$/: # A stub for EventsBatch 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" 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 - /.+/: -- cgit v1.2.3