is there any proposal for compile-time checked regex literals like in Node?
t
trevjones
11/07/2017, 7:26 PM
you could create it with a simple annotation processor
p
pakoito
11/07/2017, 7:27 PM
agreed! It'd be cool to see it rolled up into the language tho
k
karelpeeters
11/07/2017, 7:52 PM
I wonder if this would be very useful, Idea already complains about them and when you use a regex you typically compile it first thing at runtime anyway.
a
artem_zin
11/07/2017, 10:01 PM
@pakoito for implementation details check "How to Kontribute" talk from KotlinConf once the video will be available. Talk covered Compiler/IDE warnings as an example which sounds very applicable to what you want to do