Closed mojavelinux closed 8 years ago
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.
//This is a valid line comment.
The pattern should be written as follows:
^\/{2}(?:[^\/].*)?$
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
The pattern should be written as follows: