Open derbeneviv opened 5 years ago
Hello! in the following example, I’m creating a String using triple-doublequotes. It contains html tags, variables and some arithmetic. well, syntax goes crazy but if i put closing tags on new lines, everything becomes OK
The issue is caused by the / operator being matched as beginning of a regexp pattern /<pattern>/<flags> .
/
/<pattern>/<flags>
Looks quite similar to how Perl and Ruby handle such patterns.
Hello! in the following example, I’m creating a String using triple-doublequotes. It contains html tags, variables and some arithmetic. well, syntax goes crazy but if i put closing tags on new lines, everything becomes OK