Fix tests by adjusting to platform behavior
This commit is contained in:
committed by
Space
parent
d500d03baa
commit
46408ffd9d
@@ -20,4 +20,18 @@ public expect val supportsSuppressedExceptions: Boolean
|
||||
|
||||
public expect val supportsNamedCapturingGroup: Boolean
|
||||
|
||||
public expect val regexSplitUnicodeCodePointHandling: Boolean
|
||||
public expect val regexSplitUnicodeCodePointHandling: Boolean
|
||||
|
||||
public enum class HandlingOption {
|
||||
MATCH_NOTHING, THROW, IGNORE_BACK_REFERENCE_EXPRESSION
|
||||
}
|
||||
|
||||
public expect object BackReferenceHandling {
|
||||
val captureLargestValidIndex: Boolean
|
||||
|
||||
val notYetDefinedGroup: HandlingOption
|
||||
val notYetDefinedNamedGroup: HandlingOption
|
||||
val enclosingGroup: HandlingOption
|
||||
val nonExistentGroup: HandlingOption
|
||||
val nonExistentNamedGroup: HandlingOption
|
||||
}
|
||||
Reference in New Issue
Block a user