-
Notifications
You must be signed in to change notification settings - Fork 0
Section
xtay2 edited this page Feb 16, 2023
·
5 revisions
The Section is a terminal that matches any section enclosed in two symbols. This can get used for comments or strings.
-
Section(char open, char close): Creates a section without an escape-symbol. -
Section(char open, char close, char escape): Creates a section with an escape-symbol.
new Section('[', ']', '/');Matches
"[]"
"[some content]"
"[other /]content]"Fails
"[]]"
"]["
"/[]"