The following constructs will be supported for version 0.1:
*
Matches the preceding expression zero, one or several times.+
Matches the preceding expression one or several times.?
Matches the preceding expression once or not at all.|
Alternative between two expressions.()
Group expressions, but can not capture substrings for now.\
Escape special characters, for now they are `* + ? | \ ( ).
Todo
- 将悬空的边单独放在一起,加速map。