RegexActivator: exception is thrown if group hadn't matched input
nikvoloshin opened this issue · 0 comments
nikvoloshin commented
As far as I understand, Matcher#group(id)
will return null, if a group hadn't matched any input.
And as we put groups in non-nullable RegexActicvatorContext#groups
list, IllegalStateException
occurres.