Closed CullieM closed 3 years ago
/cib
Branch 103-Tokeniser-not-identifying-end-of-nodes-correctly created!
Issue was caused as symbols (which includes the equals sign '=') were being given higher precedent than the node delimiter. Due to this, "===" was being recognised as a sequence of equals signs rather than one node delimiter.
/[:!@%^&*()\\|<>?/~',."+=-]/
is the regex to identify symbols in dialogue, and /^===\n/
is the regex to identify the node delimiter. The string: ===
can still exist in dialogue, but if it is on a line on its own it is recognised as a node delimiter.
The node delimiter on line 8 is not being correctly identified, as evidenced by the yarn command on line 10, and the header tags on lines 13 and 14. The jump should appear as an error such as the jump in line 1, and the header tags should appear grey such as lines 4 and 5.