Skip to content

Commit d65dfc5

Browse files
committed
update expected output to merge regexes with backreferences
1 parent fd507c4 commit d65dfc5

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
I heard: \[Hello World: \d+\]
1+
Publishing: 'Hello World: (\d+)'(\n.*)*I heard: \[Hello World: \1\]
2+
Incoming request: \[a: \d+, b: \d+\]
23
Got result: \[\d+\]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
I heard: \[Hello World: \d+\]
1+
Publishing: 'Hello World: (\d+)'(\n.*)*I heard: \[Hello World: \1\]
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
Incrementing and sending with value: (\d+), and address: (0x([A-Z]|\d)+)
2-
Received message with value: \1, and address: \2
1+
Incrementing and sending with value: (\d+), and address: (0x([A-Z]|\d)+)(\n.*)*Received message with value: \1, and address: \2
32
sleeping for 1 second...
43
done.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
Published message with value: (\d+), and address: (0x([A-Z]|\d)+)
2-
Received message with value: \1, and address: \2
1+
Published message with value: (\d+), and address: (0x([A-Z]|\d)+)(\n.*)* Received message with value: \1, and address: \2

0 commit comments

Comments
 (0)