[TEST] Extract language feature regex pattern to :test-infrastructure-utils

This commit is contained in:
Dmitriy Novozhilov
2020-12-15 13:25:23 +03:00
parent 4ed2651c1f
commit 019cb1485e
3 changed files with 14 additions and 8 deletions
@@ -0,0 +1,10 @@
/*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
package org.jetbrains.kotlin.test.util
import java.util.regex.Pattern
val LANGUAGE_FEATURE_PATTERN: Pattern = Pattern.compile("""(\+|-|warn:)(\w+)\s*""")