You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently do not support nested comments. Since javascript does not provide recursive regex, there are two options:
Set a maximum nested level that we want to support and add rules to implement that.
Change the implementation to use defineMode instead of defineSimpleMode, so we can write the tokenizer from scratch and create a logic for an arbitrary level of nested comments.
The text was updated successfully, but these errors were encountered:
We currently do not support nested comments. Since javascript does not provide recursive regex, there are two options:
defineMode
instead ofdefineSimpleMode
, so we can write the tokenizer from scratch and create a logic for an arbitrary level of nested comments.The text was updated successfully, but these errors were encountered: