Github user danielsun1106 commented on the pull request:

    
https://github.com/apache/groovy/commit/7e7b508c02bf35e72fca1efcb7cc0d8a4f25038a#commitcomment-28347291
  
    In src/antlr/GroovyLexer.g4:
    In src/antlr/GroovyLexer.g4 on line 317:
    `/` and `'` can not quote themselves,  so `/1234//` and `'1234''` are 
invalid. `'''` and `"""` can quote `'` and `"`, so some code like 
`'''v='1234''''` is valid and conforms to "Least Surprise" principle IMO.


---

Reply via email to