groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel.Sun" <sun...@apache.org>
Subject Re: About refining regex literal syntax
Date Wed, 24 Oct 2018 18:44:16 GMT
Hi Jochen,

    If the string is invalid, lexer can detect the error efficiently.

    In addition, editing one line version of string will not impact 
lexer to recognize the remaining source code, which is very important for
the performance of source code highlighter.

Cheers,
Daniel.Sun



-----
Daniel Sun 
Apache Groovy committer 
Blog: http://blog.sunlan.me 
Twitter: @daniel_sun 

--
Sent from: http://groovy.329449.n5.nabble.com/Groovy-Dev-f372993.html

Mime
View raw message