Open Fontanapink opened 2 years ago
I just changed the regex to include python comment hashtags by adding #| to the regex.
My total regex looks like:
(?:\#|\/\/|\/\*|\<\!--)[ ]?([A-Z]+)(?: |\:|\(([A-Za-z\/\d ]+)\)\:)[ ]?(.*?)[ ]?(?:--\>|\*\/|$)
So far, this works fine.
So, looking at the default RegExp: (?:\/\/|\/*|\<!--)[ ]?([A-Z]+)(?: |\:|(([A-Za-z\/\d ]+))\:)[ ]?(.?)[ ]?(?:-->|\\/|$) I have absolutely no idea how to do this. Python comments start with a #