commit 6bde5feec6bac8e253cb94ca9521b486037a80c3
parent ab3a8165709ec9a9b3bbc77346401619672d8c06
Author: RahulSannapureddy <rahul.sannapureddy@gmail.com>
Date: Mon, 13 Apr 2026 11:12:51 +0530
Week 5: Peripheral integration, testbenches and simulation inputs (Part 1: Initial definitions)
Diffstat:
2 files changed, 58 insertions(+), 34 deletions(-)
diff --git a/inputs/regexes.txt b/inputs/regexes.txt
@@ -1,20 +1,19 @@
# Sample Regex Input File
# One regex per line
-# Match 'a' or 'b'
-a|b
-
-# Match 'a' followed by zero or more 'b's, then 'c'
-ab*c
-
-# Match one or more 'a' or 'b', then optionally 'c'
-(a|b)+c?
-
-# Match 'a', then any character, then 'b'
-a.b
-
-# Match literal 'abc'
-abc
-
-# Match complex nested expression
-(a|b)*c(d|e)+
+cat
+c.t
+do*g
+be+p
+fl?y
+apple|orange
+(red|blue)car
+lo(lo)*
+go(od)+
+(he)?llo
+a(b|c)*d
+.*end
+.+end
+(x.y)+
+(a|b)(c|d)
+1(23)?4
diff --git a/inputs/test_strings.txt b/inputs/test_strings.txt
@@ -1,20 +1,45 @@
# Test Strings
# Each line is a test string
-a
-b
-c
-aa
-ab
-ac
-abc
-abbc
-abbbc
-aaaa
-bbbb
-x
-axb
-ayb
-(a|b)
-abc
+cat
+dog
+tomcat
+cot
+cut
+ct
+doog
+dg
+beep
+bep
+bp
+fly
+fy
+apple
+orange
+banana
+redcar
+bluecar
+greencar
+lolo
+lololo
+lo
+good
+goodod
+go
+hello
+llo
+he
+ad
+abd
+acd
abcd
-abce
+the end
+end
+xay
+xayxby
+xy
+ac
+bd
+bc
+1234
+14
+124