We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7529b5a commit c53b340Copy full SHA for c53b340
README.md
@@ -0,0 +1,15 @@
1
+# Regex compiler
2
+
3
+Thompson's algorithm for parsing regular expressions
4
5
+Steps:
6
+* parse infix to postfix
7
+* compile postfix to NFA
8
+* walk nfa with input
9
10
+Supported grammars:
11
+ * `|`
12
+ * `(` `)`
13
+ * `*`
14
15
+Inspired by <a href="https://swtch.com/~rsc/regexp/regexp1.html">Regular Expression Matching Can Be Simple And Fast </a> by Russ Cox
0 commit comments