is there any proposal for compile-time checked reg...
# language-proposals
p
is there any proposal for compile-time checked regex literals like in Node?
t
you could create it with a simple annotation processor
p
agreed! It'd be cool to see it rolled up into the language tho
k
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
@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
👍🏽 2