We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72fcade commit ee6585cCopy full SHA for ee6585c
README.md
@@ -8,7 +8,18 @@ StructuralSearch - An easy-to-use library for structural search and replace in t
8
If you like or are using this project please give it a star. Thanks!
9
10
# Why SimpleStateMachine?
11
-**Forget** about regular expressions and **enjoy searching**
+**Forget** about regular expressions and **enjoy searching*
12
+
13
+# Grammar
14
+```C#
15
+grammar = term EOF
16
+term = '(' term ')' | '{' term '}' | '[' term ']' | term + | token
17
+token = placeholder | string_literal | whitespaces | comment
18
+placeholder = '$' identifier '$'
19
+string_literal = <escaped string>
20
+whitespace = [“\n\r” | '\n' | ' '] +
21
+comment = <single or multiline comment>
22
+```
23
24
1. Describe search pattern🔎
25
```C#
0 commit comments