-
Notifications
You must be signed in to change notification settings - Fork 0
Regex
Edwinem edited this page Aug 25, 2016
·
4 revisions
The regex expresion will be in MarkRegex class.
This class is Singleton and have an indexed property to get the compiled Regex.
The bigger regex will be splitted in different parts as shown:
Part 1: String blocks = "(h[1-6]|p)";
Part 2: String attributes = "(p)";
Bigger: String wholeLine = $"({blocks})({attributes})\.";