asciidoctor / atom-language-asciidoc

⚛ AsciiDoc language package for the Atom editor.
https://atom.io/packages/language-asciidoc
MIT License
42 stars 20 forks source link

Line comment does not require a space after the comment prefix #150

Closed mojavelinux closed 8 years ago

mojavelinux commented 8 years ago

Description

A line comment does not require a space after the comment prefix. However, it does require that the third character not be a forward slash.

Syntax example

//This is a valid line comment.

The pattern should be written as follows:

^\/{2}(?:[^\/].*)?$